473,387 Members | 1,790 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

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
4 5008
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Rob Oliver | last post by:
Hi, I've seen a walkthrough for passing data from a setup project to a custom action (an application) with an InstallClass. I am curious though--can the data also be intercepted by a custom...
2
by: jdd | last post by:
I would like my setup project to launch the application it just installed after the installation is completed. I tried using custom actions but the seem to make my setup wait for a return from the...
1
by: Peter | last post by:
Hallo, my application depends on others (libraries + a service), so I wrote a custom installer action for my MSI setup project that tries to install all dependencies. Unfortunately, one of them...
0
by: Chris Dunaway | last post by:
I have created a Windows Service project and have added a Setup project to the solution. My Windows Service executable has a built in installer so that I can install the service by calling the...
3
by: | last post by:
I have created a web setup project for my ASP.NET application that works fine. Also, I have followed the instructions for using a custom action to launch a web page after the installation is...
4
by: Joe | last post by:
I created a CustomAction for this but I don't think I have it in the right place. I tried both Install and Commit but neither allow it to get to the final screen. Are there any examples of this...
1
by: mjobbe | last post by:
Hi, I'm creating an MSI for a client app using a Visual Studio Setup Project. I'm trying to detect if Internet Explorer is running on the target computer before I start the installation. How do I...
1
by: rohan_from_mars | last post by:
I have a windows service and am also using Enterprise Library June 2005 version. Now i have created Setup and Deployment Project which installs the service. but how do i add EL dlls-...
4
by: Davey | last post by:
Hi All, I am learning .NET. I am a little confusing about when do I need a customer installer. I can add the Installer class in my WinForm project. But I don't know what the purpose of that....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.