Page 1 of 1

File Bag location wrong if run with Debugger

Posted: Fri Jun 30, 2006 5:05 am
by Tinus
Hi,

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:

Code: Select all

c:\\program files\\InstallAware\\InstallAware 6\\plugins\\File Bag\\bag


This will prevent me using the Debugger (and that's not what I paid for, please fix this).

Posted: Fri Jun 30, 2006 5:49 am
by MichaelNesmith
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.

Posted: Fri Jun 30, 2006 6:00 am
by Tinus
Michael,

I'm already working in this way and File bag is NOT working.

Posted: Fri Jun 30, 2006 6:10 am
by MichaelNesmith
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.

Posted: Fri Jun 30, 2006 7:02 am
by Tinus
Ok, thanks for the explanation. This is really a big disadvantage. :cry:
Why not add an option to disable this for non plugin developers (feature request)?

Posted: Fri Jun 30, 2006 7:58 am
by MichaelNesmith
I sure will log this in as a feature request!

Re: File Bag location wrong if run with Debugger

Posted: Thu Jan 17, 2013 10:23 am
by JFeather
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?

Re: File Bag location wrong if run with Debugger

Posted: Thu Jan 17, 2013 11:18 am
by FrancescoT
Dear JFeather,

please have a look at the following topic, it should help you;
http://www.installaware.com/forum/viewtopic.php?p=19108

Regards