473,386 Members | 1,721 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,386 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 1723
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: 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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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,...
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.