ALLUSERS property issue in command line
Created: 17 Jan 2013 | 14 comments
Hi All,
I have repackage an application and prepare MST for the MSI.In property Manager I have mention ALLUSERS=1.
But in command line I am giving this property to ALLUSERS=""
As per the standard it should install as Per-user.
In my machine its installing successfully, I Checked in log file, but shortcut is not coming even for the user in which I have installed the application.
NOTE:Its working file ,ALLUSERS=1 in command line.Shortcut is comming..
Discussion Filed Under:
Comments 14 Comments • Jump to latest comment
If you check the log, where does it say it installs the shortcuts?
Do you have any condition (based on UILevel property) for the component installing the shortcut?
thanks for the reply AngelD
CreateShortcuts. Return value 1
I am attaching here log file for your reference.
this application is working fine if ALLUSERS=1, in command line.
but For ALLUSER="" shortcut is not comming.
Thanks,
Raj
Could you post your Shortcut table entries?
AngelD,
Please find the shortcut table entries.
I am also trying to install an other packaged application in my buid.same problem is comming..
this is the command i have written :
msiexec /i [.msi] transforms=[.mst] ALLUSERS="" /qn
is it correct?
attached the .xlsx for your reference..
Thanks,
Raj
Taking one more look at the log reveals the location of your shortcuts;
Try setting ALLUSERS=0 as ALLUSERS="" is not a valid value.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
EdT,
I have also install as ALLUSERS=0,shortcut is coming and its working fine ,,but per machine instalation is happening..
Thanks,
Raj
Raj,
Why install it as per-user?
If you must then you need to trigger a repair for the user and make sure the shortcuts gets installed.
Have in mind that you may take up more then 1 license when having multiple users on a single computer.
I would stick with installing as per-machine with snagit.
Ed, read what you typed again ;)
A non-defined ALLUSERS property (removing a defined by setting it to 'blank' through commandline) installs as per-user.
1 = per-machine
2 = per-machine for an admin user (installer), per-user for non-admin user (installer)
Don't think 0 is a valid value.
Yes, you are right AngelD - I was thinking of something else when I wrote that.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Are you performing the installation on System Context????
Jagadeish,
Yes they are as you can see on my previous reply:
Why don't you change the shortcut in MST and put it in allusersprofile rather than doing all this?
Piyush Nasa Altiris Certified Professional (ACP)
http://msiworld.blogspot.com/
Would you like to reply?
Login or Register to post your comment.