By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,850 Members | 967 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,850 IT Pros & Developers. It's quick & easy.

Need help running an .exe from Setup's Custom Action

P: n/a
Hi, I'm using vs2005, .net 2 for a C# windows application. I'm preparing a
installation package and I want to add the vcredist_86.exe to my
installation. I add this exe file to my Application Folder of the setup
proejct. I then add this file to the Custom Action's Install node. I set
the InstallaerClass to False and delete the "/Install" fro the Arguments
field. I got an error message when I run my setup at the target win2k
server. When it starts running the vcredist_86.exe, a message pops up
complaining that another installation is still in process and it can not run
vcredist_86.exe. How can I resove this problem? Thank you.
--
Thanks.
Aug 23 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Use the prerequisites button to generate a setup.exe that installs the VC
redist. There's no need to write code for you to do this, and as you've
discovered you can't install an MSI-based setup from inside an MSI setup.
--
Phil Wilson
[MVP Windows Installer]

"Pucca" <Pu***@discussions.microsoft.comwrote in message
news:8F**********************************@microsof t.com...
Hi, I'm using vs2005, .net 2 for a C# windows application. I'm preparing
a
installation package and I want to add the vcredist_86.exe to my
installation. I add this exe file to my Application Folder of the setup
proejct. I then add this file to the Custom Action's Install node. I set
the InstallaerClass to False and delete the "/Install" fro the Arguments
field. I got an error message when I run my setup at the target win2k
server. When it starts running the vcredist_86.exe, a message pops up
complaining that another installation is still in process and it can not
run
vcredist_86.exe. How can I resove this problem? Thank you.
--
Thanks.

Aug 23 '07 #2

P: n/a
Yeah, why didn't I think of that(making it a prequisit). Thank you very
much. But would the prequisit install this? I know it's not able to install
the .net framework as a prerquisit. I'll try it now.
--
Thanks.
"Phil Wilson" wrote:
Use the prerequisites button to generate a setup.exe that installs the VC
redist. There's no need to write code for you to do this, and as you've
discovered you can't install an MSI-based setup from inside an MSI setup.
--
Phil Wilson
[MVP Windows Installer]

"Pucca" <Pu***@discussions.microsoft.comwrote in message
news:8F**********************************@microsof t.com...
Hi, I'm using vs2005, .net 2 for a C# windows application. I'm preparing
a
installation package and I want to add the vcredist_86.exe to my
installation. I add this exe file to my Application Folder of the setup
proejct. I then add this file to the Custom Action's Install node. I set
the InstallaerClass to False and delete the "/Install" fro the Arguments
field. I got an error message when I run my setup at the target win2k
server. When it starts running the vcredist_86.exe, a message pops up
complaining that another installation is still in process and it can not
run
vcredist_86.exe. How can I resove this problem? Thank you.
--
Thanks.


Aug 24 '07 #3

P: n/a
Oh, I just discover that it creates all the prereq in folders and install
them. Thank you very much.
--
Thanks.
"Phil Wilson" wrote:
Use the prerequisites button to generate a setup.exe that installs the VC
redist. There's no need to write code for you to do this, and as you've
discovered you can't install an MSI-based setup from inside an MSI setup.
--
Phil Wilson
[MVP Windows Installer]

"Pucca" <Pu***@discussions.microsoft.comwrote in message
news:8F**********************************@microsof t.com...
Hi, I'm using vs2005, .net 2 for a C# windows application. I'm preparing
a
installation package and I want to add the vcredist_86.exe to my
installation. I add this exe file to my Application Folder of the setup
proejct. I then add this file to the Custom Action's Install node. I set
the InstallaerClass to False and delete the "/Install" fro the Arguments
field. I got an error message when I run my setup at the target win2k
server. When it starts running the vcredist_86.exe, a message pops up
complaining that another installation is still in process and it can not
run
vcredist_86.exe. How can I resove this problem? Thank you.
--
Thanks.


Aug 24 '07 #4

P: n/a
Hi Phil,
After uninstalling my application only, and then launching to install my
application again, the VC++ runtime setup dialog still appears. Anyway to
suppress this since it is already installed from the 1st time I install my
application? Thank you.

--
Thanks.
"Phil Wilson" wrote:
Use the prerequisites button to generate a setup.exe that installs the VC
redist. There's no need to write code for you to do this, and as you've
discovered you can't install an MSI-based setup from inside an MSI setup.
--
Phil Wilson
[MVP Windows Installer]

"Pucca" <Pu***@discussions.microsoft.comwrote in message
news:8F**********************************@microsof t.com...
Hi, I'm using vs2005, .net 2 for a C# windows application. I'm preparing
a
installation package and I want to add the vcredist_86.exe to my
installation. I add this exe file to my Application Folder of the setup
proejct. I then add this file to the Custom Action's Install node. I set
the InstallaerClass to False and delete the "/Install" fro the Arguments
field. I got an error message when I run my setup at the target win2k
server. When it starts running the vcredist_86.exe, a message pops up
complaining that another installation is still in process and it can not
run
vcredist_86.exe. How can I resove this problem? Thank you.
--
Thanks.


Aug 24 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.