Results 1 to 5 of 5

Thread: uninstall is never that...

  1. #1

    Thread Starter
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492

    uninstall is never that...

    I use ********** to package my application.
    Now I have two files which require that I register them...so in inno I have

    Code:
    Source: "C:\Documents and Settings\jhermiz\Desktop\SPI\AppDllsForSPIInstallation\SmartMenuXP.ocx"; DestDir: "{app}"; Flags: ignoreversion regserver
    Source: "C:\Documents and Settings\jhermiz\Desktop\SPI\AppDllsForSPIInstallation\SmartMenuXP.dll"; DestDir: "{app}"; Flags: ignoreversion regserver
    Notice the "regserver" parameters...

    Now if an end user uninstalls this application...I go back to the original folder in C:\Program Files\MyProgram ... and see that everytrhing is gone but these two files. I need to make sure EVERYTHING is uninstalled. Is there a way to do this?

    This is a big issue because if someone tries to reinstall the app using inno I get errors saying that it cannot replace these 2 files. If I ignore these errors...and run the application I get an activex component error which forces me to go to dos and do a regsvr32....

    pLease help!

  2. #2
    Frenzied Member
    Join Date
    May 2003
    Location
    So Cal
    Posts
    1,564
    I dont know how Inno works, but see if there is a way to make sure they are marked as not being shared files. If they are considered shared, then they wont get uninstalled.

  3. #3

    Thread Starter
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492
    Originally posted by BrianS
    I dont know how Inno works, but see if there is a way to make sure they are marked as not being shared files. If they are considered shared, then they wont get uninstalled.
    No its not shared...however I found a flag in help through inno which recommends the following:

    Source: "C:\Documents and Settings\jhermiz\Desktop\SPI\AppDllsForSPIInstallation\SmartMenuXP.ocx"; DestDir: "{app}"; Flags: onlyifdoesntexist ignoreversion regserver
    Source: "C:\Documents and Settings\jhermiz\Desktop\SPI\AppDllsForSPIInstallation\SmartMenuXP.dll"; DestDir: "{app}"; Flags: onlyifdoesntexist ignoreversion regserver

    So onlyifdoesntexist should be good enough

    Thanks BrianS

  4. #4
    Frenzied Member
    Join Date
    May 2003
    Location
    So Cal
    Posts
    1,564
    That may solve your re-install issue, but it still probably wont get uninstalled. May want to talk to the guys at Inno just to see if there is a way.

  5. #5

    Thread Starter
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492
    Originally posted by BrianS
    That may solve your re-install issue, but it still probably wont get uninstalled. May want to talk to the guys at Inno just to see if there is a way.
    Yea I realized that...its not a big deal that these files still sit there.
    I think the reason they dont get uninstalled is because they are originally registered..to uninstall them I'd have to unregister the files. Not a big deal, was just trying to avoid the install errors that users were experiencing.

    Jon

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