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

Removing Modify, repair options


5 replies to this topic

rahuld

rahuld
  • Members
  • 15 posts

Posted 03 May 2005 - 18:07

Hi,

We are using Install Shield 10.0 (Install Script). We do not want to show option Repair, Modify. Only need to show Uninstall/Remove option. How should I do it?


Thanks,
Rahul

Silverlay

Silverlay
  • Members
  • 68 posts

Posted 03 May 2005 - 18:11

Just turn it off in your IDE in "Genereal Information"->"Add/Remove programs" there are some x like ...

"Disable Change Button" unsure.gif
Bonum initium est dimidium facti

rahuld

rahuld
  • Members
  • 15 posts

Posted 03 May 2005 - 18:26

Ok I set Disable Change Button to Yes but still it shows the other two options.

Do it has to any connection with "Maintianance Experince" and "Update Mode Support" options from Genereal Information --> Project Properties.
What should this options set to?

I have return a code which will create an Uninstaller for my product and put the
Uninstaller in Windows --> Programs --> Comp Name --> Unistaller. Now when I run the Uninstaller the code for uninstaller do not gets executed. I put the code for uninstaller in OnMaintUIAfter().

Am I doing something wrong here.

Please suggest.

-- Rahul

Silverlay

Silverlay
  • Members
  • 68 posts

Posted 03 May 2005 - 18:38

if radically then something like this ...

CODE

szKey="Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\" + PRODUCT_GUID;
RegDBSetDefaultRoot(HKEY_LOCAL_MACHINE);

RegDBSetKeyValueEx( szKey, "NoRemove", REGDB_DWORD, "1",-1);
RegDBSetKeyValueEx( szKey, "NoModify", REGDB_DWORD, "1",-1);
RegDBSetKeyValueEx( szKey, "NoRepair", REGDB_DWORD, "1",-1);



Or try to write not "1" but "0"
Bonum initium est dimidium facti

Silverlay

Silverlay
  • Members
  • 68 posts

Posted 03 May 2005 - 18:39

But i'm not sure!!!! ))))
Bonum initium est dimidium facti

as2x

as2x
  • Members
  • 1 posts

Posted 24 May 2005 - 11:14

Hi,
I have a similar problem. I set the 3 registry entries and it works as expected in win 2000 and XP (as also explained in IS X help file).
Unfortunately, in win 9x, me and NT the 3 entries in registry are not read, so I can uninstall my application form add/remove in control panel....
How can I disable or simply delete it from the list?

Thanks.