Silent install not working for MSI

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

Silent install not working for MSI

Post by tzachk »

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

Post by FrancescoT »

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

Post by tzachk »

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

Post by tzachk »

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

Post by tzachk »

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 1050 times
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Silent install not working for MSI

Post by FrancescoT »

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

Post by tzachk »

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

Post by FrancescoT »

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

Post by tzachk »

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

Post by FrancescoT »

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
Post Reply