.NET Installer class

Got a problem you cannot solve? Try here.
mandygrewal
Posts: 10
Joined: Tue May 02, 2006 12:01 pm

.NET Installer class

Postby mandygrewal » Thu May 04, 2006 9:57 am

In my old .NET installer, I had an installer class which performed some installation tasks using C#. I would like to add this functionality into my InstallAware setup as the scripting language does not allow me achieve many things (eg. set the anonymous access account to a specific user for a virtual directory, query objects in Active Directory, run programs that exist on the machine and are not part of the installation package etc...). Is there any way simple way of doing this?

Cheers for any help!

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Thu May 04, 2006 11:43 am

Some of the things you want can be done with the script. For example you can run programs using Run Program or Run Program As, no matter where the location (ex: $WINSYSDIR$\\myfile.exe).

As for other things, just compile your installer class into a EXE file or a DLL that you can call from the script. This way you'll be able to execute that code directly. Any other way to execute that same could with minimal overhead to you would be great too.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 229 guests