cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
elmtree111
Level 5

Problem about windows installer,Help

I'm working on a InstallScript MSI project.
I want to install .netframework3.5 during installation process. See the following code:

#define PROGRAM1 TARGETDIR^"dotnetfx35.exe"

export prototype DefaultFeature_Installed();
function DefaultFeature_Installed()
begin
LaunchAppAndWait (PROGRAM1, "", WAIT);
end;

Then a error massage pop-up:
The Windows Installer service is unavailable. Another application may be running setup. Finish any installations in progress, or restart your computer, and then re-run setup.
can't vista run two windows installers at the same time???:confused:
Anyone have any idea or solution about this problem?
thanks in advance
Labels (1)
0 Kudos
(3) Replies
Christopher_Pai
Level 16

Nope. There are two mutex's for you to be aware of:

1) Only one UI sequence per process
2) Only one Execute sequence per machine

In IS2009/MSI 4.5 you have more choices, but for IS2008 uou need to use a Setup Prerequisite to do what your trying to do.
0 Kudos
Branstar
Level 3

Christopher Painter wrote:
Nope. There are two mutex's for you to be aware of:

1) Only one UI sequence per process
2) Only one Execute sequence per machine

In IS2009/MSI 4.5 you have more choices, but for IS2008 uou need to use a Setup Prerequisite to do what your trying to do.


What are the other options in IS2009? I have the same problem, but I have IS2009 Premiere edition. I'd rather not use a prerequisite as the .NET Framework is required by an optional component.

Since I am making an Installscript MSI project I don't have the option of component/feature prerequisites I believe; but if there was a way of making the prerequisite specific to the component/feature that would be ideal. My workaround for this is to have a custom action trigger the .NET Framework installer if the feature has been selected.
0 Kudos
danjal
Level 5

I am having the same problem.
Branstar - Does your workaround with custom action trigger work?
How is the custom action trigger made?
0 Kudos