Page 1 of 1

msiexec /quiet overrides the all users settings

Posted: Wed Apr 18, 2012 12:34 pm
by ttcn2k4
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

Re: msiexec /quiet overrides the all users settings

Posted: Thu Apr 19, 2012 8:26 am
by FrancescoT
Dear Nhan,

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

Regards

Re: msiexec /quiet overrides the all users settings

Posted: Thu Apr 19, 2012 3:23 pm
by ttcn2k4
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 1172 times

Re: msiexec /quiet overrides the all users settings

Posted: Fri Apr 20, 2012 7:31 am
by FrancescoT
Let me check!

Regards

Re: msiexec /quiet overrides the all users settings

Posted: Mon Apr 23, 2012 7:07 am
by FrancescoT
Dear User,

when using MSIEXEC pass explicitly ALLUSER variable in command line.

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

Regards

Re: msiexec /quiet overrides the all users settings

Posted: Mon Apr 23, 2012 9:05 am
by ttcn2k4
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

Re: msiexec /quiet overrides the all users settings

Posted: Mon Apr 23, 2012 9:33 am
by FrancescoT
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

Re: msiexec /quiet overrides the all users settings

Posted: Mon Apr 30, 2012 9:32 am
by ttcn2k4
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

Re: msiexec /quiet overrides the all users settings

Posted: Mon Apr 30, 2012 9:42 am
by FrancescoT
Dear Nhan,

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


Regards

Re: msiexec /quiet overrides the all users settings

Posted: Tue May 01, 2012 12:32 pm
by ttcn2k4
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

Re: msiexec /quiet overrides the all users settings

Posted: Wed May 02, 2012 2:21 am
by FrancescoT
Dear Nhan,

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

Regards