I'm hoping to convert a PowerShell script to a C# Custom Action so that can access the session and send messages back to it to update the install status to the user.
The guide at http://www.advancedinstaller.com/user-g ... rp-ca.html is out of date, as acknowledged here: http://www.advancedinstaller.com/forums ... 940#p64070
However, what is the correct way to add the DLL if I want to be able to access the session data like in the tutorial? I don't just want to pass properties to the DLL methods--I want a full Microsoft.Deployment.WindowsInstaller.Session to be passed in like in the tutorial. That way, I can call session.Message to update the install progress display message, etc.
FOLLOW US
Get the latest news in Application Packaging