Hi,
We just found out that when running our installer in silent mode, the uninstall information is added to the users registry hive (HKEY_USERS). When same installer is installed with UI, the uninstall information appears for the machine (HKEY_LOCAL_MACHINE).
How can I fix this?
Regards,
T.
Silent mode installs for current user
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Silent mode installs for current user
Dear Tzachk,
for what you are reporting, it seems that your package is installed as PER-USER when in executed in silent mode.
I may suggest you to verify the value of the pre-defined ALLUSERS variable, it must be TRUE for a PER-MACHINE installation.
Regards.
for what you are reporting, it seems that your package is installed as PER-USER when in executed in silent mode.
I may suggest you to verify the value of the pre-defined ALLUSERS variable, it must be TRUE for a PER-MACHINE installation.
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
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
Re: Silent mode installs for current user
Hi Francesco,
I must admit the whole per-user and for all users settings in Installaware is confusing to me.
We have the following command
At the start of our script. For my understanding it should work for silent and non-silent install. Correct me if I'm wrong.
We also set in the msi building pgplwiz.exe the following command "ALLUSERS=TRUE".
I would appreciate exact instructions on how to make an installer for all users and for current user, if the baove is wrong.
thanks,
T.
I must admit the whole per-user and for all users settings in Installaware is confusing to me.
We have the following command
Code: Select all
~InstallAware Clipboard Data~
~Set Variable~
~{F80E8738-0521-4694-91D6-E375D23ED18A}~
~ALLUSERS$MYAH$MYAH$TRUE~
~TRUE~
At the start of our script. For my understanding it should work for silent and non-silent install. Correct me if I'm wrong.
We also set in the msi building pgplwiz.exe the following command "ALLUSERS=TRUE".
I would appreciate exact instructions on how to make an installer for all users and for current user, if the baove is wrong.
thanks,
T.
Re: Silent mode installs for current user
Hi Francesco,
Just found the following link:
viewtopic.php?f=2&t=8571
It seems that I was right, there is an issue with silent mode and all users. During silent installation we must use ALLUSRES=TRUE in the command line no matter what.
We shall check it out, but please confirm that this is the expected behavior.
Tzach
Just found the following link:
viewtopic.php?f=2&t=8571
It seems that I was right, there is an issue with silent mode and all users. During silent installation we must use ALLUSRES=TRUE in the command line no matter what.
We shall check it out, but please confirm that this is the expected behavior.
Tzach
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Silent mode installs for current user
Dear Tzach,
the topic you posted refers to a different behavior with MSI files.
This doesn't happen with a Compressed Exe, as I suppose you are using.
For test purpose, You may save in a text file the value of the ALLUSERS variable ... in order to verify its effective value at runtime.
Regards
the topic you posted refers to a different behavior with MSI files.
This doesn't happen with a Compressed Exe, as I suppose you are using.
For test purpose, You may save in a text file the value of the ALLUSERS variable ... in order to verify its effective value at runtime.
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
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
Re: Silent mode installs for current user
Hi Francesco,
We are using compressed exe put inside msi.
We added ALLUSERS=TRUE to the msi command line and it indeed solved our issue. We now run the command install.msi ALLUSERS=TRUE /quiet cmd="/s ..." and it installs for all users
We are using compressed exe put inside msi.
We added ALLUSERS=TRUE to the msi command line and it indeed solved our issue. We now run the command install.msi ALLUSERS=TRUE /quiet cmd="/s ..." and it installs for all users
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Silent mode installs for current user
happy you solved!
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
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
Re: Silent mode installs for current user
Hi Francesco,
I'm getting back to the ALLUSERS=TRUE thing.
Though it seems that adding allusers=true to the msi execution command line solves installing for ALLUSERS, it seems that it is not working correctly. I'm getting all kind of weird issues if I do Remove/Repair in silent mode, which is working fine when using dialogs.
I can still see that the exe is getting ALLUSERS=FALSE instead of ALLUSERS=TRUE. I read in the forum that this is normal behavior for pgplwiz, but how can I change it?
Is there a list of all places where I need to check that ALLUSERS=TRUE to make sure the install is executing correctly.
Regards,
T.
I'm getting back to the ALLUSERS=TRUE thing.
Though it seems that adding allusers=true to the msi execution command line solves installing for ALLUSERS, it seems that it is not working correctly. I'm getting all kind of weird issues if I do Remove/Repair in silent mode, which is working fine when using dialogs.
I can still see that the exe is getting ALLUSERS=FALSE instead of ALLUSERS=TRUE. I read in the forum that this is normal behavior for pgplwiz, but how can I change it?
Is there a list of all places where I need to check that ALLUSERS=TRUE to make sure the install is executing correctly.
Regards,
T.
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Silent mode installs for current user
Dear Tzach,
are you passing ALLUSERS=TRUE when running a Remove/Repair in silent mode?
It should be enough to test the ALLUSERS value at the very beginning of the main script.
Regards
are you passing ALLUSERS=TRUE when running a Remove/Repair in silent mode?
Is there a list of all places where I need to check that ALLUSERS=TRUE to make sure the install is executing correctly
It should be enough to test the ALLUSERS value at the very beginning of the main script.
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
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
Who is online
Users browsing this forum: No registered users and 138 guests