Silent install not working for MSI

Got a problem you cannot solve? Try here.
tzachk
Posts: 171
Joined: Wed Jul 18, 2012 12:14 am

Silent install not working for MSI

Postby tzachk » Mon Jan 20, 2014 5:51 am

Hello support,

I have a problem installing our msi in silent mode. It used to work in the past, but it is not working anymore.
I've tried to install the setup.exe in silent mode. Working great. Tried to install setup.msi, it starts (as evident in task manager), consumes 99% cpu and stays at that setting. The installation itself is not progressing.
Logged the msi install process, everything is fine.

What can go wrong?

Regards,
T.

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Silent install not working for MSI

Postby FrancescoT » Mon Jan 20, 2014 11:44 am

Dear TZach,

did you rebuild it or is it the same identical MSI file that you used before?

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

tzachk
Posts: 171
Joined: Wed Jul 18, 2012 12:14 am

Re: Silent install not working for MSI

Postby tzachk » Wed Jan 29, 2014 6:24 am

Dear Francesco,

It is a new MSI.
Every new msi I build hangs on silent mode. Working fine if exe is run in silent.

Tzach

tzachk
Posts: 171
Joined: Wed Jul 18, 2012 12:14 am

Re: Silent install not working for MSI

Postby tzachk » Thu Jan 30, 2014 8:30 am

Hi Francesco,

I'm trying to produce a log file but fail.
Is the following correct?
Setup.msi /quiet CMD="/s /l=c:\log.log"


Regards,
T.

tzachk
Posts: 171
Joined: Wed Jul 18, 2012 12:14 am

Re: Silent install not working for MSI

Postby tzachk » Thu Jan 30, 2014 9:42 am

Hi Francesco,

I was able to produce a log file by running the setup.exe with the command parameters I saw in task manager.
The command line is:
Setup.exe /s /l=c:\log.log "/g=c:\" ALLUSERS=FALSE /m="C:\Users\Administrator\AppData\Local\Temp\{F47FDBD4-EE5E-4A24-8741-42CC9C171325}.exe" /k=""

The resulting log file is attached.
By the way, I noticed that eventhough I set in the installer script Set Persistent Variable ALLUSERS to TRUE the exe is run with ALLUSERS=FALSE.

Your help is needed.

Regards,
T.
Attachments
log.log
(282.13 KiB) Downloaded 970 times

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Silent install not working for MSI

Postby FrancescoT » Thu Jan 30, 2014 11:14 am

Dear Tzachk,

Try with;
msiexec.exe /i <msi_package> CMDLINE="ALLUSERS=TRUE" /quiet

Alternatively, use the Group Policy Wizard tool to embed the "ALLUSERS" variable value with MSI file.

Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

tzachk
Posts: 171
Joined: Wed Jul 18, 2012 12:14 am

Re: Silent install not working for MSI

Postby tzachk » Sun Feb 02, 2014 4:03 am

Hi Francesco,

If I add ALLUSERS=TRUE as you've mentioned. then the resuling executing line includes both ALLUSERS=FALSE and ALLUSERS=TRUE.
Is there something I can do or is this part of the gp wizard?

Regards,
Tzach

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Silent install not working for MSI

Postby FrancescoT » Mon Feb 03, 2014 11:45 am

Dear Tzachk,

but ... does it work?

The gp wizard gives you the possibility to embed the command line parameter with the MSI ... it is exactly the same with passing them manually.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

tzachk
Posts: 171
Joined: Wed Jul 18, 2012 12:14 am

Re: Silent install not working for MSI

Postby tzachk » Mon Feb 10, 2014 1:36 am

Hi Francesco,

To understand if it works we need to look at the registry and/or try to uninstall with another user.
I hope these test (if pass) means that ALLUSERS=TRUE works.

I still do not understand why ALLUSERS=FALSE appear in the command line when i set it to true in the installaware script.

Regards,
Tzach

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Silent install not working for MSI

Postby FrancescoT » Mon Feb 10, 2014 11:20 am

Dear Tzach,

I am sure that works!

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 80 guests