Update setup settings not saving
Posted: Mon Nov 23, 2015 10:55 am
I'm having an issue where the update settings are not being preserved. Towards the end of my setup package I call . From the setup's programdata folder I found that the file [title].dat stores the variables (UPDATE_INSTALL, UPDATE_AUTO, and UPDATE_DOWNLOAD), and it has the proper variable set to true (i.e. UPDATE_AUTO = TRUE). The problem is that once the setup completes, this dat file is updated so that UPDATE_DOWNLOAD = true, no matter what was originally selected. Once the setup is complete I can run [setup].exe /updatesetup and the settings are preserved from here on out. I want the user to be able to setup the update settings from the original setup program, what am I doing wrong?
Code: Select all
$WINDOWSINSTALLERDIR$\$TITLE$ Updates for All Users.lnk /updatesetup