472,789 Members | 1,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Automatic deployment of VS.NET MSI-package

Hi,

I didn't know which group to post this in, so I did something I usually
don't do which is post the message in multiple groups - sorry for that!
My problem is that I have build a .NET application and made added a
deployment project to the solution that creates an MSI-package. This works
fine when I manually installs the MSI-package, but I also want to be able to
make an automatic installation so I can run something like this in the
command-window:
MyProject.MSI /servername=http://server /run=Everyone

How can I do this?

My main problem is that I want to make Everyone the standard choice for
"Install MyProject for yourself, or for anyone who uses this computer". But
I would also like to use some other parameters like servername.

Y/Jakob
Jul 22 '05 #1
1 1699
VS 2005 is better in this area because there's an IDE build setting for
Everyone/Just me called InstallAllUsers IIRC, but VS 2003 uses Just me by
default, so:

If you google for FolderForm_AllUsers you'll find more on this topic, but
basically:

1. Get Orca from the Windows Installer section of the Platform SDK.
2. Use it to edit the Property table in your MSI file in two ways:
a) Change the value of FolderForm_AllUsers from ME to ALL.
b) Add the property name ALLUSERS (case sensitive) and give it a Value of 1

You can then do a silent install of your MSI file for everyone with:
msiexec /i <path to msi> /qn

there are several /q options for various levels of UI display.

You can pass properties in uppercase:
msiexec /i <path to msi> /qn SERVERNAME=whatever

so you can use them in custom actions, but I'm not sure if that's what you
mean by your /servername.

--
Phil Wilson [MVP Windows Installer]
----
"Jakob Olsen" <ja***@wmdata.com> wrote in message
news:uo**************@tk2msftngp13.phx.gbl...
Hi,

I didn't know which group to post this in, so I did something I usually
don't do which is post the message in multiple groups - sorry for that!
My problem is that I have build a .NET application and made added a
deployment project to the solution that creates an MSI-package. This works
fine when I manually installs the MSI-package, but I also want to be able
to make an automatic installation so I can run something like this in the
command-window:
MyProject.MSI /servername=http://server /run=Everyone

How can I do this?

My main problem is that I want to make Everyone the standard choice for
"Install MyProject for yourself, or for anyone who uses this computer".
But I would also like to use some other parameters like servername.

Y/Jakob

Jul 22 '05 #2

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

Similar topics

5
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...
4
by: Mattbooty | last post by:
I'm beginning to think this isn't doable within VB.NET Deployment projects, but I wanted to ask before I went and spent the money on a seperate installer. I have a program that runs off of an...
2
by: sstevens | last post by:
Does anyone have suggesstions for ASP.NET deployment best practices. This is in the context of a large organization where developers do not have admin access to web servers. The idea of buliding...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
8
by: Brian Henry | last post by:
Hello, I know it is possible to have deployable applications during login of win2k and win xp systems through active directory, but i was wondering if it is possible to create a deployment...
1
by: Chuck | last post by:
I'm using a setup and deployment project in VB.Net to make my distributable file. I set all my options and go to build my project and I get the following error. Error 1706. No valid source...
1
by: Wendy Elizabeth | last post by:
Can you give me some suggestions of why the xml web service is not working? I have an xml web service that works in my visual studio. net 1.1 environment. I setup this project up for deployment...
1
by: windy | last post by:
Hi all, I would like to know how to make my deployment file to use the local exported dotnetframework instead of downloading from web, when my client didn't have it? Thanks a lot.
3
by: Ant | last post by:
Hi, Is there a newsgroup here committed to deployment (specifically using setup & deployment projects)? Are there any good MS press books on the subject? Thanks very much for any clues Ant
1
by: MimiMi | last post by:
I have a deployment project that was originally created in VS2003. Since I don't have VS2003, I now open it in VS2005, but then of course VS2005 has to convert it. Everything seems to work fine. I...
0
by: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.