File Bag location wrong if run with Debugger

Got a problem you cannot solve? Try here.
Tinus
Posts: 207
Joined: Tue Jun 20, 2006 8:42 am
Location: Germany

File Bag location wrong if run with Debugger

Postby Tinus » Fri Jun 30, 2006 5:05 am

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).
Martin Rothschink
InstallAware MVP

AxoNet Software GmbH
http://www.axonet.de/products/other-pro ... stallaware

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Fri Jun 30, 2006 5:49 am

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
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

Tinus
Posts: 207
Joined: Tue Jun 20, 2006 8:42 am
Location: Germany

Postby Tinus » Fri Jun 30, 2006 6:00 am

Michael,

I'm already working in this way and File bag is NOT working.
Martin Rothschink
InstallAware MVP

AxoNet Software GmbH
http://www.axonet.de/products/other-pro ... stallaware

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Fri Jun 30, 2006 6:10 am

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

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

Tinus
Posts: 207
Joined: Tue Jun 20, 2006 8:42 am
Location: Germany

Postby Tinus » Fri Jun 30, 2006 7:02 am

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)?
Martin Rothschink
InstallAware MVP

AxoNet Software GmbH
http://www.axonet.de/products/other-pro ... stallaware

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Fri Jun 30, 2006 7:58 am

I sure will log this in as a feature request!
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

JFeather
Posts: 1
Joined: Thu Jan 17, 2013 10:13 am

Re: File Bag location wrong if run with Debugger

Postby JFeather » Thu Jan 17, 2013 10:23 am

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?

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: File Bag location wrong if run with Debugger

Postby FrancescoT » Thu Jan 17, 2013 11:18 am

Dear JFeather,

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

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 112 guests