Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Return to past file association (after uninstall)


4 replies to this topic

gloom

gloom
  • Full Members
  • 50 posts

Posted 17 December 2003 - 06:38

Saved association (for example *.bmp open with ACDsee), taked for my application (*.bmp open with MyApp) and restore it after MyApp uninstalling (ACDsee again)

Scotsmanscott

Scotsmanscott
  • Members
  • 20 posts

Posted 17 December 2003 - 14:52

As far as I know, you need to use custom actions for this...

For a system association, read the value of "HKCR\.BMP\" (possibly with APPSEARCH), store the value in the registry, and restore it later.

For a user association, read the value of "HKCU\Software\Classes\.BMP\" (possibly with APPSEARCH), store the value in the registry, and restore it later.



gloom

gloom
  • Full Members
  • 50 posts

Posted 18 December 2003 - 05:37

ok blink.gif
Any other key.. Can I store there?
It s idea.

gloom

gloom
  • Full Members
  • 50 posts

Posted 18 December 2003 - 07:41

Sorry, I am beginner at ISWI huh.gif
What is Rollback? - Can it help me for my task?


Glytzhkof

Glytzhkof
  • Moderators
  • 1,447 posts

Posted 18 December 2003 - 07:42

I would store the previous value under HKLM\Sofware\YourCompanyName\YourAppName\YourAppVersion\Installer\Value. This ensures that the value is available to any system administrator who may uninstall the setup.
Regards
-Stein Åsmul