Results 1 to 14 of 14

Thread: [Help]How do I modify the uninstall exe?

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2008
    Posts
    3

    [Help]How do I modify the uninstall exe?

    I want to write some entries to the registry when an application I’m distributing is installed. That I have managed to do fine by editing setup1.exe.
    However I would also like these registry entries to be removed when the program is uninstalled and I’m not sure how to go about this.
    Any advice?

    Btw new here - hello.

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: [Help]How do I modify the uninstall exe?

    Use a different installer...

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2008
    Posts
    3

    Re: [Help]How do I modify the uninstall exe?

    Could you elaborate a bit please?

  4. #4
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: [Help]How do I modify the uninstall exe?

    Quote Originally Posted by randem
    Use a different installer...

    this mean,
    An installer like innosetup has simple codes to remove registry keys while Un-installing.

    fro example
    Code:
    [Registry]
    Root: HKCU; Subkey: "MyProgram\verion 1.2"; Flags: uninsdeletekey
    BTW, purplekitty, Welcome to the forum

  5. #5
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: [Help]How do I modify the uninstall exe?

    Moved to Application Deployment

  6. #6

    Thread Starter
    New Member
    Join Date
    May 2008
    Posts
    3

    Re: [Help]How do I modify the uninstall exe?

    Quote Originally Posted by Fazi
    this mean,
    An installer like innosetup has simple codes to remove registry keys while Un-installing.

    fro example
    Code:
    [Registry]
    Root: HKCU; Subkey: "MyProgram\verion 1.2"; Flags: uninsdeletekey
    BTW, purplekitty, Welcome to the forum
    Thanks for the help and the welcome

    I'll have a look at innosetup and see how I get on.

  7. #7
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: [Help]How do I modify the uninstall exe?

    BTW,
    You can also try this tool. An innosetup support tool i find it usufull. (dont estimate by it's skinn color , i use the old version)
    http://www.***********/**********.html

  8. #8
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: [Help]How do I modify the uninstall exe?

    Fazi,

    Why don't you use the current version?

  9. #9
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: [Help]How do I modify the uninstall exe?

    Are you sure you want to do this at all?

    Microsoft has recanted its position on using the registry for application settings in most scenarios. Beginning with Vista Microsoft encourages moving away from this practice.

    Registry Virtualization in Windows Vista
    Virtualization Recommendations

    Virtualization is intended only to assist in application compatibility with existing programs. Applications designed for Windows Vista should not perform writes to sensitive system areas, nor should they rely on virtualization to provide redress for incorrect application behavior. When updating existing code to run on Windows Vista, developers should ensure that, during run-time, applications only store data in per-user locations or in computer locations within %alluserprofile% that have access control list (ACL) settings properly set. Refer the UAC Developer Guide for more guidelines on developing applications for Windows Vista.

  10. #10
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: [Help]How do I modify the uninstall exe?

    Quote Originally Posted by dilettante
    Microsoft has recanted its position on using the registry for application settings in most scenarios. Beginning with Vista Microsoft encourages moving away from this practice.
    And people said I was crazy when I said don't use the registry that much use ini files...

  11. #11
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: [Help]How do I modify the uninstall exe?

    You're simply ahead of your time.

  12. #12
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: [Help]How do I modify the uninstall exe?

    Quote Originally Posted by randem
    Fazi,

    Why don't you use the current version?
    Randem,
    recently i did not had any installation builds
    Mostly working on webbased projects these days

  13. #13
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: [Help]How do I modify the uninstall exe?

    Ah, Ok because the skins have changed drastically lately...

    Of course you can choose your own color...

  14. #14
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: [Help]How do I modify the uninstall exe?

    Thats Cool !

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width