Video Screencast Help

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..

Comments 14 CommentsJump to latest comment

AngelD's picture

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?

Raj Sam's picture

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

AttachmentSize
logfile.txt 252.21 KB
AngelD's picture

Could you post your Shortcut table entries?

 

Raj Sam's picture

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?

 

AttachmentSize
Shortcuttable.xlsx 9.22 KB
Raj Sam's picture

attached the .xlsx for your reference..

 

 

Thanks,

Raj 

AngelD's picture

Taking one more look at the log reveals the location of your shortcuts;

 

Property(S): SnagIt_8 = C:\WINDOWS\system32\config\systemprofile\Start Menu\Programs\SnagIt 8\

EdT's picture

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.

Raj Sam's picture

EdT,

I have also  install as ALLUSERS=0,shortcut is coming and its working fine ,,but per machine instalation is happening..

 

Thanks,

Raj

AngelD's picture

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.

AngelD's picture

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.

 

EdT's picture

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.

Jagadeish's picture

Are you performing the installation on System Context????

AngelD's picture

Jagadeish,

Yes they are as you can see on my previous reply:

 

Property(S): SnagIt_8 = C:\WINDOWS\system32\config\systemprofile\Start Menu\Programs\SnagIt 8\

piyushnasa's picture

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/