Page 1 of 1
Running setup from IDE - problem
Posted: Wed Oct 11, 2006 9:09 am
by jweksej
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?
Posted: Wed Oct 11, 2006 5:54 pm
by CandiceJones
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).
Posted: Thu Oct 12, 2006 1:44 am
by jweksej
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
Posted: Thu Oct 12, 2006 6:41 am
by CandiceJones
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.
Posted: Thu Oct 12, 2006 7:13 am
by jweksej
>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?
Posted: Thu Oct 12, 2006 4:44 pm
by CandiceJones
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.