Vladimir12
Flexera beginner

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?

Labels (1)
0 Kudos
2 Replies
shunt
Revenera Moderator Revenera Moderator
Revenera Moderator

Re: Error during sqlcms.exe custom action

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

0 Kudos
Vladimir12
Flexera beginner

Re: Error during sqlcms.exe custom action

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?

0 Kudos