/build/static/layout/Breadcrumb_cap_w.png

package creates file and folder with variable name... help!

Hi, I'm a rather newbie packager and have following (simple?) problem.
A program I'm trying to package creates per user in the Documents and Settings folder a folder and a file that contains the logged in username and AD domain name. For example: when I logon with username koswo, it would create following folder: C:\Documents and Settings\koswo\Local Settings\Application Data\SyncClient\MY-DOMAIN!koswo. In that folder it will create a file named something like: MY-DOMAIN!koswoAsomeservername.sfx

What do I have to do in the msi file to make this logic work for every user that logs on to the computer?

Thanks a lot for your help!

0 Comments   [ + ] Show comments

Answers (1)

Posted by: zipsantro 15 years ago
Purple Belt
0
You can use environment variables to replace these strings at the time of installation. Such as in your case probably you need "USERNAME" & "USERDOMAIN" which will be picked at the time of installation.
Kindly go through SDK to understand using of Environment Variables in your MSI.

Jeeoo!
Santro
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ