01/27/2006 1865 views
\MYdocuments\mki\ti_01\run\<LOGIN XP>

While installing the application i want <LOGIN XP> should be the logon user name..
How do i do it?
0 Comments   [ + ] Show comments


Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

All Answers

get enviroment variable 'username'

Wisescript to show usage can be found Here.
Answered 01/27/2006 by: Foleymon
Orange Senior Belt

thanks Foleymon
Answered 01/27/2006 by: skj
Second Degree Brown Belt

Instead of using a Wise Script you could also make use of the property [LogonUser]
Answered 01/27/2006 by: rpfenninger
Second Degree Green Belt

how do i use [LogonUser] ?
Answered 01/27/2006 by: skj
Second Degree Brown Belt

Its a property where you can use it as you have mentioned.
i.e., [LogonUser].

This fetches the path of the logonuser who installs the application. Not sure if this will work properly if you deploy an application through SMS.

Hope this helps.
Answered 01/27/2006 by: slb
Purple Belt

It will display the User Name with which it was installed. If the MSI is deployed using SMS admin, the User Name of the SMS admin will be displayed where every [LogonUser] property is used.

Answered 01/27/2006 by: MSIram
Senior Yellow Belt