How to create "ModifyPath" key?
Posted 21 September 2005 - 00:25
How to create "ModifyPath" key properly in InstallScript MSI project? (as I know only "UninstallString" can be created successfully in InstallScript MSI project, I don't know why)
Can anyone tell me the proper info?
Thanks in adance!
Posted 21 September 2005 - 20:50
Posted 22 September 2005 - 07:44
Thanks for your reply very much!
I am using InstallShield 11 for the installation development now.
The "ModifyPath" key is from "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" ^ PRODUCT_GUID
,which makes the "Modify" and "Remove" button separately in control panel.
With the Basic MSI project, this key can be created automatically by MSI. And with InstallScript Project, this key can be created via calling MaintenanceStart function in OnMoveData event handler function, too.
But, if I create InstallScript MSI project, this key can not be created automatically, I tried to create this key by calling MaintenanceStart function, but the compiler is giving me a warning like this"...The uninstallation registry key is automatically created. This function no longer needs to be called."
So my question is: How to create the uninstallation registry key "ModifyPath" properly with InstallScript MSI project?
Would you please give me some suggestion to do this correctly?
Posted 22 September 2005 - 09:55
Posted 22 September 2005 - 16:04
I wonder why it's not possible for InstallScipt MSI project? Since both Basic MSI project and InstallScript project can do this.
Do you have any idea why this feature is disabled in InstallScript MSI project? is there any concern from designing? so we can give the formal reason to customers.
Thank you very much!