![]() |
|
#1
|
|||
|
|||
|
Hi Guys
I am new to install shield, i just started working on it. I was trying to learn it by my own, but facing some difficulty in uninstalling the product. I want to make a simple project which only make keys and Value Name in the registry and when i remove that, it will automatically delete the Value Name not the Key. But i am unable to do that . Now i will explain more about the project ->I made a Basic MSI Project ( i am not sure whether it is right choice or not). In InstallScript i made 2 functions -> RegisterKeys and DeleteKeys I made 2 Custom Actions -> RegisterKeysAction and DeleteKeyActions i set the Install Exec Sequence of RegisterKeysAction to "After Installvalidate" and of DeleteKeyActions to "After RemoveRegistryValues". But when ever i am installing or uninstalling that, both my functions are running first DeleteKeyActions and then RegisterKeysAction. I want to run deleteKeyActions only when uninstallation. Please help me in to resolve that issue. Regards Naveen |
|
#2
|
|||
|
|||
|
To control your functions, you have to code them in installscript events.
These events are not available in a "Basic MSI" project. You should either choose Installscript or Installscript MSI project before you start working. There you can invoke these functions on particular uninstall event(OnUninstall()). Regards, Vishnu. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|