Running setup from IDE - problem

For all your non-technical questions.
jweksej
Posts: 93
Joined: Wed Sep 27, 2006 4:54 am

Running setup from IDE - problem

Postby jweksej » Wed Oct 11, 2006 9:09 am

From some moment in the past, in one project I can't start installer from IDE (Run->Run without debugging). IA gives me a message: "Please build your project before running without debugging". The same is for r"un with debugging" (slightly different message). Setup started directly works fine.
For the other project this functionality works ok. I'm trying to find the project setting responsible for it, but I failed. Do someone know what is going on?

CandiceJones
Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm
Contact:

Postby CandiceJones » Wed Oct 11, 2006 5:54 pm

Hi,

Check if your build type is the same as the default project type, as the IDE will try to run the default project build type (even if you have built another type and that is available).
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

jweksej
Posts: 93
Joined: Wed Sep 27, 2006 4:54 am

Postby jweksej » Thu Oct 12, 2006 1:44 am

The build type (Deployment->BuildSettings) is : Uncompressed Directory Layout
I can't find "default project type" in IDE and in help files. According to documentation UDL is used for debugging, then it should work, but doesn't

CandiceJones
Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm
Contact:

Postby CandiceJones » Thu Oct 12, 2006 6:41 am

The default build type is the value stored in Deployment -> Build Settings.
Are you using a compiler variable to change the output file name? That might also confuse the IDE, causing it to fail to find the built file.
Candice Jones

InstallAware

Home of The Next Generation MSI Installer

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

jweksej
Posts: 93
Joined: Wed Sep 27, 2006 4:54 am

Postby jweksej » Thu Oct 12, 2006 7:13 am

>Are you using a compiler variable to change the output file name?
yes
>That might also confuse the IDE, causing it to fail to find the built file.
yes, this was the reason. But it should be considered as a bug, because I can't use default and simply rename files after build, because the name is hardcoded in other files.

Is there workaround for this?

CandiceJones
Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm
Contact:

Postby CandiceJones » Thu Oct 12, 2006 4:44 pm

Actually, there is no way for the IDE to know which compiler variable you may have last compiled your setup with, so the IDE plays it safe.

Your solution is to not use compiler variables in the custom output file field until you have debugged your setup.
Candice Jones

InstallAware

Home of The Next Generation MSI Installer

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


Return to “Non-Technical”

Who is online

Users browsing this forum: No registered users and 44 guests