Setup projects and /RegServer options

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a package I need to deploy. I am going to use a setup project to do
this.

One of the executables that I need to deploy is built with a custom
post-build step of: "(TargetPath)" /RegServer

This should register the app as a server from what I can tell. When I am
deploying this product to another machine (that will not build the code) how
do I get the Installer to register this server? Is there an option in the
configuration somewhere?

Andrew S. Giles
 
After a little more reearch, I find that apparently the Custom Actions option
in the install is the way to go.

All I need to do, is after the executable is installed on the target
machine, simply execute the executable with the /RegServer option.

Obviously execute it again with the /UnregServer option when it is
uninstalled.

But I must be dense, for I do not see a way to specify command line
arguments for then it executes...

Andrew S. Giles
 
Back
Top