This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: [ProductCode] is blank when doing an uninstall
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Jan 12, 2022
05:29 AM
Hi
I don't do this much. I'm running IS 2021 R2. Its a basic MSI and in a custom action I'm trying to remove shortcuts as the shortcut name is passed in via an MSI parameter.
I save the filename away in the registry under a productcode identifier. This works fine on installation.
On removal, my custom action gets a blank value for [ProductCode]. My DeleteShortcuts custom action is runin deferred and the DeleteShortcutsProperty is set in the usual way. I'm never completely sure where to put this stuff but I'm surprised that the productcode isn't set.
Any idea why? This worked before.
(1) Solution
‎Jan 12, 2022
07:46 AM
Its OK. This was my fault. I'd made a mistake inside the custom action.
(1) Reply
‎Jan 12, 2022
07:46 AM
Its OK. This was my fault. I'd made a mistake inside the custom action.