msiexec /quiet overrides the all users settings

Got a problem you cannot solve? Try here.
ttcn2k4
Posts: 31
Joined: Wed Feb 01, 2012 10:04 am

msiexec /quiet overrides the all users settings

Postby ttcn2k4 » Wed Apr 18, 2012 12:34 pm

Hi:

I need help !!! I could not understand why the msi silent installation turns weird like that. We set the ALLUSERS variable to TRUE and check on "All users" option if there is. The msi installs correctly for all users if we don't specify the /quiet. Once we turn it on, it only installs for the user that runs the installation. Other users could not see the shortcuts nor entry in ARP. It used to work correctly at the beginning. Don't know when it stops working properly.

Just wonder if there is any suggestion on how to fix it?

Thanks
Nhan

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

Re: msiexec /quiet overrides the all users settings

Postby FrancescoT » Thu Apr 19, 2012 8:26 am

Dear Nhan,

could you check carefully if erroneously in your script, you set ALLUSERS variable to FALSE?

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

ttcn2k4
Posts: 31
Joined: Wed Feb 01, 2012 10:04 am

Re: msiexec /quiet overrides the all users settings

Postby ttcn2k4 » Thu Apr 19, 2012 3:23 pm

I checked and even set the variable to TRUE twice in the msi code (one at the beginning and one at the installation part).

The weird thing is that the msi installed for every users, except when I call it using the /quiet flag (ie. msiexec /i <msi> /quiet).

I also uploaded a test case for you to test.

- If you run the msi regularly, you will see an uninstall icon under the folder "My Test" in Start menu as well as an entry in ARP when switching to another user (than the installer).
- If you run with "msiexec /i <msi> /quiet", you will only see them when log in as the person who ran the msi.

Thanks for your help. I hope you can figure out a way to fix it asap, since we have to deliver it to customer this upcomping Monday.
Nhan

MyTest.zip
(2.24 MiB) Downloaded 1171 times

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

Re: msiexec /quiet overrides the all users settings

Postby FrancescoT » Fri Apr 20, 2012 7:31 am

Let me check!

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

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

Re: msiexec /quiet overrides the all users settings

Postby FrancescoT » Mon Apr 23, 2012 7:07 am

Dear User,

when using MSIEXEC pass explicitly ALLUSER variable in command line.

Es:
msiexec /i c:\mytest.msi ALLUSERS=TRUE /quiet

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

ttcn2k4
Posts: 31
Joined: Wed Feb 01, 2012 10:04 am

Re: msiexec /quiet overrides the all users settings

Postby ttcn2k4 » Mon Apr 23, 2012 9:05 am

Thanks. It comes just in time for the release :-))

However, please don't give up looking for a cause. I don't know why it happens now. We have 5 other msi (for other s/w) using the same template and same way of design. They work fine (until now) without having to call that variable at command prompt.

Nhan

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

Re: msiexec /quiet overrides the all users settings

Postby FrancescoT » Mon Apr 23, 2012 9:33 am

Happy that you solved! :D

Are you sure that you have not embedded command line ALLUSERS=TRUE with Group Policy Wizard, for these project 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

ttcn2k4
Posts: 31
Joined: Wed Feb 01, 2012 10:04 am

Re: msiexec /quiet overrides the all users settings

Postby ttcn2k4 » Mon Apr 30, 2012 9:32 am

no, I don't use the command at the Group Policy because we have to do it everytime we build the msi, which is not convenient (compared to permanently code it at msicode level). However, we will use it now as a work-around for the quiet option issue.

Thanks Francesco.
Nhan

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

Re: msiexec /quiet overrides the all users settings

Postby FrancescoT » Mon Apr 30, 2012 9:42 am

Dear Nhan,

by the way using GP wizard the ALLUSERS variable it is passed by default as FALSE.


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

ttcn2k4
Posts: 31
Joined: Wed Feb 01, 2012 10:04 am

Re: msiexec /quiet overrides the all users settings

Postby ttcn2k4 » Tue May 01, 2012 12:32 pm

is there any way to change that default behavior permantly? even for the whole IA collection, it'll be fine too. All our setups are configured for all users.

Thanks
Nhan

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

Re: msiexec /quiet overrides the all users settings

Postby FrancescoT » Wed May 02, 2012 2:21 am

Dear Nhan,

actually is not possible ... you must use GP wizard command line parameter.

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 125 guests