Thu Mar 05, 2009 3:30 pm
Before I got your reply, I got it working. Not sure if or why it matters, but I changed the names of two properties in question to all UPPERCASE. That resolved the issue.
I do have another question:
My installation does the following
1. Copies our app code to the appropriate directory include the setup.exe of a required app.
2. Launches the setup.exe using a custom action
3. Creates a registry key used by the dependent app.
4. Creates a printer using all of the above.
This works great but the uninstall isn't working. It must:
1. Delete the printer - this works
2. Delete the registry key - THIS FAILS
3. Launch the "uninstall.exe" using a custom action - this launches but fails b/c of #2.
4. Remove our app code etc - this fails b/c #3 fails.
To get the registry key deleted prior to running the "uninstall.exe" I added a custom action (EXE with Working Dir..):
[SystemFolder]\cmd.exe /c reg.exe /DELETE "MY KEY" - this fails but doesn't tell me why.
I also tried
[SystemFolder]\reg.exe /DELETE "MY KEY" - again, this fails.
How can I ensure that the registry key is deleted prior to my custom action running?
Thanks!
- Jerome