473,785 Members | 2,349 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5023
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***@discussi ons.microsoft.c omwrote in message
news:8F******** *************** ***********@mic rosoft.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***@discussi ons.microsoft.c omwrote in message
news:8F******** *************** ***********@mic rosoft.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***@discussi ons.microsoft.c omwrote in message
news:8F******** *************** ***********@mic rosoft.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***@discussi ons.microsoft.c omwrote in message
news:8F******** *************** ***********@mic rosoft.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
2642
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 action defined as a vbscript? If so, does anyone have any idea how it would be accomplished? Thanks! Rob Oliver
2
275
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 application. I wish the call to be asynchronous. Is there a way to do that? Thanks
1
1612
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 also uses a MSI setup. At that point during the installation I get an error saying there's another installation in progress at the moment and the second MSI file can't be executed. Is it possible to launch other MSI packages from within a MSI...
0
1345
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 exe with a /I command line switch. This all works well. In my project setup, I have added a custom action that calls my service's install routine. This also works well.
3
5899
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 complete. This works great too, for web pages not associated with my new application. I would like to launch a web page that is part of the application that was just installed. The sample in MSDN shows using the following syntax:
4
20903
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 anywhere? Thanks, Joe
1
2268
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 go about detecting this? Thanks.
1
3601
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- Common.dll, Logging.dll, Configuration.dll, Data.dll into setup project so that it is also installed automatically. It should perform what the 'Install Services.bat ' performs. I have created ProjectInstaller.cs file also
4
1753
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. Under what circumtance do I need a customer installer? Thanks,
0
10346
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10157
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10096
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9956
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7504
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5386
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4055
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3658
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2887
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.