iPass Upgrade Question
I've managed to get iPass to uninstall version 3.36 and install version 3.51 using a silent installation but after this process, existing user settings are not saved. Is there anything that can be done to save existing user settings before the uninstall and import them back after the new version is installed? I am talking about things like the username and password for the user settings.
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
anonymous_9363
16 years ago
I know nothing of iPass but my guess is that the settings are either in a file or files or beneath a registry key. Files can be copied to, say, the TEMP folder and registry settings can be exported to a .REG file in the same place. Once th euninstall is complete, copy the file(s) back or import the .REG.
Posted by:
Trooper1
16 years ago
Posted by:
anonymous_9363
16 years ago
I'm not sure why you want to do it for every user. Is it as a separate, information-gathering exercise? In that case, you'd need to use WMI to remote-connect to each machine's registry and interrogate it accordingly...hideous. Do-able, but hideous.
If, however, you just want to back up the data so that it can be restored for the new version, using, say, a VB Script in a Custom Action, you could copy the INI to the TEMP folder using FileSystemObject (or, more correctly, using the File table) and export the registry by shelling out to RegEdit:
REGEDIT /E %TEMP%\[AppName]Settings.REG "HKEY_CURRENT_USER\Software\[VendorName]\[AppName]\[TheRelevantSettingsKey]"
then after the install completes copy the file back and import the .REG:
REGEDIT /S %TEMP%\[AppName]Settings.REG
If it was me, I'd separate the file & registry actions into discrete CAs, but that's just my way.
If, however, you just want to back up the data so that it can be restored for the new version, using, say, a VB Script in a Custom Action, you could copy the INI to the TEMP folder using FileSystemObject (or, more correctly, using the File table) and export the registry by shelling out to RegEdit:
REGEDIT /E %TEMP%\[AppName]Settings.REG "HKEY_CURRENT_USER\Software\[VendorName]\[AppName]\[TheRelevantSettingsKey]"
then after the install completes copy the file back and import the .REG:
REGEDIT /S %TEMP%\[AppName]Settings.REG
If it was me, I'd separate the file & registry actions into discrete CAs, but that's just my way.
Posted by:
Guest
16 years ago
Just back up the USERPREF.INI file and the registry settings before removing the old client...then remove the old client, install the new one, and then restore the INI file and reg settings. Keep in mind that security measures in the client prevent the porting of credentials from one system to another.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.