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

Home Posts Topics Members FAQ

Passing Command Line Options to Installer Custom Actions

I have created an Installer using the "Setup Wizard" in Visual Studio.
I've added a custom action to this as a seperate DLL written in C#.

Everything is working and going well.

But now I want to add a "quite" mode that does not dislay any of the
UI. I can hide the automatically created UI by calling my .msi as
follows:

msiexec /passive /i Hamsters.msi

But how can I detect this "/passive" (or any other command line options
for that matter) from within my custom action?

Thanks
Kevin

Aug 25 '05 #1
0 1037

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
4929
by: Arun Bhalla | last post by:
I'm working with VS.NET 2003 and .NET 1.1 (not SP1) on Windows XP SP1. My application is using the Windows Installer Bootstrap. (I may have also installed a module which detects requirements (.NET 1.1 -> MsiNetAssembly Support.) I have a few issues and questions regarding the MSI and its properties. * This may be my biggest annoyance at the moment. When the installer creates the target directory, it's setting them as read-only. When the...
0
2107
by: Arun Bhalla | last post by:
I'm having some inconsistency problems with my deployment project ("Setup") and its custom actions ("Installer"). I'm using Visual Studio .NET 2003 (.NET 1.1, no service pack) on Windows XPSP1. My main project is a band object (Explorer Bar) in an assembly (.DLL) that needs to be registered on installation and unregisted on uninstallation. In addition, during installation, Setup creates registry subkeys, sets registry values, installs...
2
2747
by: DBT | last post by:
When I add an Install project to my Windows Service project everything compiles and it works okay. The problem is the Installer only writes the files to disk, but doesn't actually install the service. Thus I must manually use InstallUtil.exe to install the service. I thought the installer handled this. I'm using VS2003.
1
1727
by: RA | last post by:
Hi I have created a Windows installer project from the .net vs. When I add custom actions for the Uninstall event how can I tell it in what sequence to launch the custome action? Whats happening is that it removes the files and then tries to execute the custome action. Also how can I get the return value from the custome action? Am I better of to write the code to interface with the windows installer instead of relaying on vs to do the...
49
632
by: Thom Little | last post by:
I developed a C# application and a windows installer application that properly installs the C# application on a new machine. After the C# application is installed I would like to automatically start it on the User's machine. - How do I instruct the setup program to start execution of the newly installed program? - Is there a good general resource that documents the use of the installer?
7
4755
by: Ken Allen | last post by:
I have a .net client/server application using remoting, and I cannot get the custom exception class to pass from the server to the client. The custom exception is derived from ApplicationException and is defined in an assembly common to the client and server components. The custom class merely defines three (3) constructors -- the null constructor; one with a string parameter; and one with a string and innner exception parameter -- that...
0
1129
by: krose | last post by:
I have created an Installer using the "Setup Wizard" in Visual Studio. I've added a custom action to this as a seperate DLL written in C#. Everything is working and going well. But now I want to add a "quite" mode that does not dislay any of the UI. I can hide the automatically created UI by calling my .msi as follows: msiexec /passive /i Hamsters.msi
1
2869
by: lyl209 | last post by:
Hi, I am trying to create a web setup project for my asp.net 2.0 website and I had some problems. It worked fine until I want to add some custom actions into it. As some of you already knew, custom actions get fired AFTER the real installation is done. I want to do some things like 1) check if some required software is in position if not execute an installer 2) backup some important files before installation
0
829
by: wandii | last post by:
Hi, I have a solution I have written in VB.net. It consist of 2 projects. One of the projects is the setup application for the installer. I created a batch file which includes the .msi from the installer and upon running it uninstalls the application and re-installs it. I would like do all of this stuff (uninstall/reinstall) via the custom actions of the installer. How can I attach a custom action to the installer. I tried to find...
0
9647
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10163
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
7510
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
6744
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5397
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...
0
5532
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4063
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
3668
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
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.