I have a File Bag in my setup. If run outside the IDE (or without Debugger), the runtime location is working.
If run with Debugger, the runtime location is wrong and the project fails. The value with Debugger is always:
Turn off debug build mode and build your setups in uncompressed mode. Setups built in uncompressed mode do not require debug build mode to be debugged in the IDE, and File Bag works.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Oh sorry, I apologize. I was just informed this is by design, to allow debugging plug-in DLLs that are copied into various folders during the build process. Because those folders are indeterminate and may change for each different line of the script code, while running in the IDE, the plug-in DLLs are always loaded from their folder of registration with InstallAware.
While this isn't an issue for virtually all plug-ins, since their file contents do not change dynamically (ex: the .NET installer), it is an issue for File Bag, which is the only plug-in that does offer dynamic content that changes at build time. Currently no work around is available.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
I've just hit this problem with version 15 Studio and it is causing me a headache.
As previously posted File bags work fine except when running under the debugger. I am not developing plugins but I need to be able to run a file from a file bag. Was the feature ever implemented or is there a way of determining if the install is running under the debugger?