Deployment / MSI Question

S

Stephen Farmer

I a solution containing a number of projects. In one of the projects I have
an install class. I've configured the setup to run a custom action, created
the UI's and set up the Custom Action Data. When the MSI is run, it installs
all of the files then pops a dialog stating:

Usage:InstallUtil [/u | /uninstall] [option[...] ....

InstallUtil executes the installers in each given assembly.......

After pressing OK it rolls back the install. Any Idea as to what could be
causing this woould be greatly appreaciated.
 
N

Nicholas Paldino [.NET/C# MVP]

Stephen,

You are installing a service, right? When the service is installed, it
needs to run InstallUtil from the command line in order to access your .NET
code which configures the service. This is what you are seeing when the
command window pops up.

Hope this helps.
 
S

Stephen Farmer

Nicholas,

Thanks for the input, but I'm actually installing a web application.
I've tracked the root of the problem to the Custom Data property and been
able to resolve it. Got to love those examples that aren't quite right....

Nicholas Paldino said:
Stephen,

You are installing a service, right? When the service is installed, it
needs to run InstallUtil from the command line in order to access your
.NET code which configures the service. This is what you are seeing when
the command window pops up.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Stephen Farmer said:
I a solution containing a number of projects. In one of the projects I
have an install class. I've configured the setup to run a custom action,
created the UI's and set up the Custom Action Data. When the MSI is run,
it installs all of the files then pops a dialog stating:

Usage:InstallUtil [/u | /uninstall] [option[...] ....

InstallUtil executes the installers in each given assembly.......

After pressing OK it rolls back the install. Any Idea as to what could be
causing this woould be greatly appreaciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top