My install package modifies a registry key that needs to be set back to a certain value on uninstall. However, uninstalling deletes the key entirely. How can I write a default value back to the key instead of deleting it during an uninstall?
RobertDickau wrote:Please verify that this line is at the top of your script:#include "ifx.h"The header file ifx.h contains prototypes for a large set of built-in InstallScript functions.That was it Thanks, glad it was something simple.
I must be doing something wrong here... I went to install sscript and created a new script with the aformentioned code. I then went through the custom action process and created an action. However when I try to build the msi I get an error message "E...
Pardon my ignorance... but I still dont see how it is running that on "uninstall". All I need to do is set the reg value back to "userinit.exe" when the user uninstalls the package. The actual setting of the registry value works fine.
I see the option to set is as permenant, which looks like it will prevent it from being deleted. However, I still dont see how to set it back to its original value.