cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
parul_manglam
Level 3

How to modify value of UninstallString in registry entry

In my application,UninstallString in registry entry is taking value as "MsiExec.exe /I{32A3A4F4-B792-11D6-A78A-00B0D0160060}".But i want this value should be assigned as "C:\Program Files\InstallShield Installation Information\{32A3A4F4-B792-11D6-A78A-00B0D0160060}\setup.exe".
Any help appreciated.

Regards,
Parul
Labels (1)
0 Kudos
(5) Replies
J_anitha
Level 8

You can use RegDBSetItem() with REGDB_UNINSTALL_STRING for modifying UninstallString value.
0 Kudos
parul_manglam
Level 3

Thanks for your reply.
But i want to create a folder with name of application's Product GUID in C:/programfiles/Installshield Information/

This folder contains setup.exe.

Please guide me how this folder is created at C:/programfiles/Installshield Information/

Regards,
Parul
0 Kudos
J_anitha
Level 8

CreateDir(PROGRAMFILES ^ "InstalShield Installation Information " ^ IFX_PRODUCT_GUID);
But why do you want to create this folder? It will be created by installer during installation of your application.
0 Kudos
parul_manglam
Level 3

In my case, this folder is not created.
Actually when user clicks on Remove button,then maintainence dialogue is not coming.Windows Installer is coming.I want that maintainence dialogue should come.If i assign UninstallString to "C:\Program Files\InstallShield Installation Information\{3A470F9C-D0A4-4F8B-9CF9-DF43B0300444}\setup.exe" -runfromtemp -l0x0009 -removeonly then it will work.

But in my application,"C:\Program Files\InstallShield Installation Information\{3A470F9C-D0A4-4F8B-9CF9-DF43B0300444}folder is not created.

Please help me.

Regards,
Parul
0 Kudos
J_anitha
Level 8

What is your project type?
0 Kudos