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!
.NET Installer class
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
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.
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/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 113 guests