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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
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.
Answered 06/19/2007 by: VBScab
Red Belt

Please log in to comment
0
Yes you're right about that. The settings are stored in an ini file and the password information is stored inside the HKCU key for the user. There just doesn't seem to be anyway to export this information for every user. Has anyone done this?
Answered 06/19/2007 by: Trooper1
Senior Yellow Belt

Please log in to comment
0
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.
Answered 06/19/2007 by: VBScab
Red Belt

Please log in to comment
0
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.
Answered 06/20/2007 by: Guest
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity