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 when custom action call MSIEXEC
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
‎Mar 25, 2010
03:28 AM
ERROR when custom action call MSIEXEC
Hello!!
I wrote a script function:
function RemoveMySQL(hMSI)
begin
if(LaunchAppAndWait(WINSYSDIR^"msiexec.exe","/uninstall \"" + INSTALLDIR^"mysql.msi" + "\"",LAAW_OPTION_WAIT)< 0) then
MessageBox ("Unable Remove My SQL.",SEVERE);
abort;
endif;
end;
And then, I add custom action to call above function.
If I add it to UI sequence then it's OK. But if I add it to Exec sequence then it's Error when run.
Error content : another installer is running. waitting for it finish.
In my task manager, it has 2 processes of msiexec.exe.
pls, help me!
I wrote a script function:
function RemoveMySQL(hMSI)
begin
if(LaunchAppAndWait(WINSYSDIR^"msiexec.exe","/uninstall \"" + INSTALLDIR^"mysql.msi" + "\"",LAAW_OPTION_WAIT)< 0) then
MessageBox ("Unable Remove My SQL.",SEVERE);
abort;
endif;
end;
And then, I add custom action to call above function.
If I add it to UI sequence then it's OK. But if I add it to Exec sequence then it's Error when run.
Error content : another installer is running. waitting for it finish.
In my task manager, it has 2 processes of msiexec.exe.
pls, help me!
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 25, 2010
04:38 AM
In execute sequence, msiexec process is being used by your program. So if you try to use it again, it will ofcourse give an error. I don't think it's possible to make two instances of msiexec.exe run at the same time.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 25, 2010
05:02 AM
have any way to setup MySQL in Installscript MSI project?
I am new study installshield
I am new study installshield
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 28, 2010
01:58 AM
I also get a isue as you but I can not solve this isue.
Please help us!
Please help us!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 28, 2010
02:02 AM
I think In:) .msi file of MySQL have used msiexec to call another components.
So you use msiexec to call .msi file of MySQL ==> duplicate use msiexec
So you use msiexec to call .msi file of MySQL ==> duplicate use msiexec
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 05, 2010
01:54 AM
Hi,
As windows installer 3.1 will not allow two instances of MSIEXEC at a time, because of this you are facing error. This type of behavior will be called as NETSTED MSI installation. We can puase the main installation till the time when the netsted installation is in progress. Please follow up netsted installation behaviour.
As windows installer 3.1 will not allow two instances of MSIEXEC at a time, because of this you are facing error. This type of behavior will be called as NETSTED MSI installation. We can puase the main installation till the time when the netsted installation is in progress. Please follow up netsted installation behaviour.