Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom installer in setup

Status
Not open for further replies.

haddaway

Programmer
Jul 6, 2005
172
SE
I have a Windows service in a setup project. With service installer and process installer I install the service and start it.

Now I have bought an obfuscator (.NET Reactor). This prevents me from calling the installer class. I have to set InstallerClass to false.

I could however use the same exe and send som arguments to it like install and uninstall. My question is, how do I write to install or uninstall. For example:

Case "I"
Dim p As New ProjectInstaller
Case "U"
Dim p As New ProjectInstaller

The functions in p , like Install and Uninstall requires some kind of dictionary. How can I perform the same kind of install/uninstall procedure by calling the exe with arguments? How do I handle the dictionary?

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top