My problem: I can't access the Files and Folders contents during install.
More detail: We regularly generate hundreds of SQL scripts so using the manual SQL Script functionality in Advanced Installer isn't practical.
What I've tried: I can successfully execute my custom action (using C#) but when I attempt to read the files in the install folder they don't exist. If instead I use the temporary install directory, they aren't there either.
Using Folder Indentifier:
Code: Select all
string tablesFolder = session["Tables_Dir"]; // Gets correct final installation folder but contents are emptyI set a Property called SQLTABLESFOLDER its value is [APPDIR]SQLScripts\Tables.
Code: Select all
string tablesFolder = session["SQLTABLESFOLDER "]; // Returns a temp directory at C:|WINDOWS|INSTALLER|MSI721F.msi but files don't exist there eitherThanks!
FOLLOW US
Get the latest news in Application Packaging