View forum topicList of forum topics
Subject: 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.
Insert the 'Get Original Username' command at the beginning of the installation script. Read more details here
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.
At first, download and install the latest version of CI Light 6.3.3.
Send your .ci project file to firstname.lastname@example.org 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!
February 05, 2021 Installer CreateInstall 8.8.0 was released. read more
April 11, 2020 Installer CreateInstall 8.7.0 was released.
March 07, 2020 Installer CreateInstall 8.6.2 was released.
November 09, 2019 Installer CreateInstall 8.5.5 was released.
August 08, 2019 Installer CreateInstall 8.5.1 was released.
June 19, 2019 Installer CreateInstall 8.4.11 was released.