View forum topic
List of forum topicsSubject: Current User Install Path
Maybe I'm missing something here, but how would you send your appdata files to the appdata folder of the current user? On a UAC enabled PC, it seems like the path variables are getting populated with whatever admin account I use to authorize the installation.
E.g. let's say I'm logged in as standard level user Dave and use admin user Fred to authorize the install. When I run the install, I want the appdata variable to equal C:\Users\Dave\AppData\Roaming and not C:\Users\Fred\AppData\Roaming.
Any ideas?
Mark
Insert the 'Get Original Username' command at the beginning of the installation script. Read more details here
http://www.createinstall.com/help/get-original-user.html
Awesome. Thanks!
Actually, I think I spoke to soon. How do you insert that command? Based on the link, it looks like it should be under the System tab. When I expand that, all I see are Check, Check Requirements, ShortCut - Create, and ShortCut [ List ]. I'm using the Light version 5.6.0.
Nevermind. No idea how I downloaded such and old version. I just bought the thing two months ago!
Yes, version 5.6.0 is very old.
I hate to necropost, but I'm still having issues getting createinstall to remember the original user. I entered "get original user" as suggested (and it seems that version 6.10 Lite does that for me anyway), but my admin appdata path is still getting used.
Any ideas?
At first, download and install the latest version of CI Light 6.3.3.
Send your .ci project file to info@createinstall.com with 'CreateInstall' subject if the problem is not fixed.
That seemed to do the trick. I upgraded and I also moved the appdata install portion of install to precede the programfiles install. One thing I did notice is that when the app is launched from the installer for the first time, it still fails to find the appdata, but subsequent runs of the program do work as expected. I can live with that.
Thank you for your help!
Mark
January 16, 2025 Installer CreateInstall 8.11.1 was released.
June 19, 2024 Installer CreateInstall 8.11.0 was released. read more
November 13, 2022 Installer CreateInstall 8.10.1 was released.
May 21, 2022 Installer CreateInstall 8.10.0 was released.
September 25, 2021 Installer CreateInstall 8.9.0 was released.
July 15, 2021 Installer CreateInstall 8.8.1 was released.