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: Error Custom Action in Uninstalling
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 21, 2011
05:57 AM
Error Custom Action in Uninstalling
I have created a Custom Action named UninstallDokan,which Dokan is driver for my software.I encounter the errorwhen I uninstall my program: Error 1721: There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action:UnistallDockan,location:,command:C:\program Files <86>\DoTask\Driver\DokanUninstall.exe The CA is configured as follows:
Created a CA based on "New EXE > Path referencing a directory".
Working Directory:
Filename & Command line: "[INSTALLDIR]\Driver\Uninstall.exe"
Return Processing: Synchronous (Check exit code)
In-Script Execution: Commit Execution in System Context
Install Exec Sequence: After RemoveFile
Install Exec Condition: Remove
everything else was left at the default
Do anyone have any ideas what to try next?
Created a CA based on "New EXE > Path referencing a directory".
Working Directory:
Filename & Command line: "[INSTALLDIR]\Driver\Uninstall.exe"
Return Processing: Synchronous (Check exit code)
In-Script Execution: Commit Execution in System Context
Install Exec Sequence: After RemoveFile
Install Exec Condition: Remove
everything else was left at the default
Do anyone have any ideas what to try next?
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 21, 2011
01:19 PM
It looks like you're referencing a file that is installed and removed by your product, but scheduling this action to run after the file is removed. It is then unable to find the file that has already been deleted, so fails to launch this file. I would suggest either changing the scheduling of your action, or changing where it finds the exe file it launches (for example you could launch it from being stored in the Binary table).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 22, 2011
01:31 AM
Thanks for Replyed to my question.
I created CA based on "New EXE > Install With Product" that installed Dokan and it Created the subfolder in folder of my product.
I will uninstall Dokan with Uninstall file that itself created and need to Admin privilege.
I changed to "After IniValues" and I added Dokan folder to Directory table that changed "Working Directory" to Dokan.
but that any changed.
I created CA based on "New EXE > Install With Product" that installed Dokan and it Created the subfolder in folder of my product.
I will uninstall Dokan with Uninstall file that itself created and need to Admin privilege.
I changed to "After IniValues" and I added Dokan folder to Directory table that changed "Working Directory" to Dokan.
but that any changed.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)