- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Error during sqlcms.exe custom action
- 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
Error during sqlcms.exe custom action
Hi.
I work in Installshield 2014. use InstallScript MSI project.
I'l try to run an sqlcmd.exe, during my installation. but have an error:
There is a problem with the Windows Installer package. Unexpected termination of a program that is part of the installation. Please contact support or the package vendor. NewCustomAction1, location: C: \ Windows \ Installer \ MSI64D4.tmp, command: -S ANDRUKHOV...
You can see it on the sceeshot, i addet to this tiket. can you tell, what i did wrong?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Its possible that the file is not yet available at the point you are running the custom action in the installation sequence.
There are two things you can try:
1. Change the In-script Execution to "deferred"
or,
2. Move the Immediate Execution custom action to after "InstallFinalize"
If niether of these work, does the command that you are using work outside of the installation context? For example manually run that command against SQLCMD.EXE
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
It seems like i run this command, before i set my Data base.
I set it on Installed FeatureEvent rul.
How can i set the time of my sqlcmd custom action after all other FeatureEvents are done?
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)