I'm still relatively new to InstallAware. We use version 18.
How do I set the pre-defined variable "ALLUSERS" within msicode? I know how to do it from an msiexec commandline.
I've been looking at the help files and they tell me everything except WHERE I should set "ALLUSERS"
Is it as simple as
ALLUSERS=TRUE at the top of the file?
I need to make sure that this msi always does a 'Per-Machine" install.
WHERE and HOW do I set "ALLUSERS" in msicode?
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: WHERE and HOW do I set "ALLUSERS" in msicode?
Yes, it's just necessary to force the value of the ALLUSERS variable at the very beginning of your main setup script.
Doing in this way, any value eventually assigned from command line will be overridden by the script assignment.
Please consider that when the setup runs interactively (not in silent mode), during the setup wizard the user still has the possibility to switch the "ALLUSERS variable" to FALSE. By default, this may happen when the "startmenu dialog" gets displayed.
To prevent such possibility you may not display such dialog at all, or you may simply modify the dialog by hiding the two radio controls (from Dialog Editor, Set the Visible property of the controls to FALSE).
Doing in this way, any value eventually assigned from command line will be overridden by the script assignment.
Please consider that when the setup runs interactively (not in silent mode), during the setup wizard the user still has the possibility to switch the "ALLUSERS variable" to FALSE. By default, this may happen when the "startmenu dialog" gets displayed.
To prevent such possibility you may not display such dialog at all, or you may simply modify the dialog by hiding the two radio controls (from Dialog Editor, Set the Visible property of the controls to FALSE).
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: WHERE and HOW do I set "ALLUSERS" in msicode?
Thank you. That helped.
Who is online
Users browsing this forum: Google [Bot] and 36 guests