Cannot get InstallAware MSIcode debugging in IDE

Got a problem you cannot solve? Try here.
greenstone
Posts: 29
Joined: Tue Oct 16, 2007 10:30 am

Cannot get InstallAware MSIcode debugging in IDE

Post by greenstone »

I have set the the "Project Options" dialog Build/Debug Build to "checked", (Project tab) "Single File" to rebuild, but I still get this message:

"Please make a debug build of your project before running it in the IDE. Remember to refresh your build whenever you change your setup files and script."

What else do I have to do to allow me to go into the MSIcode "debug" mode?
Alex_Ronquillo
Site Admin
Posts: 364
Joined: Mon Jul 30, 2007 11:51 am
Location: USA
Contact:

Post by Alex_Ronquillo »

This is only a guess, if I am wrong, send your project files and I will take a look to them. My guess is that you are using one build type and you are trying to debug another one. Do the following:

Select Deployment-->Build Settings in the tree view of the design tab.
In there select your build type, and make sure you check the "Debug Build" checkbox.
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
greenstone
Posts: 29
Joined: Tue Oct 16, 2007 10:30 am

Post by greenstone »

Thanks for looking at this.

I took the standard InstallAware sample "Creating IIS Websie and Virtual Folders" example and turned on the "Debug" flag: But I still can't debug in the IDE.

Attached is the file.
Last edited by greenstone on Fri Oct 26, 2007 8:17 am, edited 1 time in total.
Alex_Ronquillo
Site Admin
Posts: 364
Joined: Mon Jul 30, 2007 11:51 am
Location: USA
Contact:

Post by Alex_Ronquillo »

I think you forgot the attachment
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
greenstone
Posts: 29
Joined: Tue Oct 16, 2007 10:30 am

Post by greenstone »

I selected "attach" last time, but it appeared to not take. I will "attach" again. Are there restrictions on the attached file type? I will rename the .zip file to .zop.
greenstone
Posts: 29
Joined: Tue Oct 16, 2007 10:30 am

Post by greenstone »

I tried to attach again, but didn't seem to take.

I'm now trying to upload it from a machine running IE6.
greenstone
Posts: 29
Joined: Tue Oct 16, 2007 10:30 am

Post by greenstone »

I see no visual sign this file has been uploaded successfully. Can you please let me know what I should do to upload this file?

Alternatively, all I did to to the off-the-CD project was change the "debug" flag to TRUE; so, could you post a copy of that off-the-CD project with the debug flag to TRUE (that can works in the IDE debugger)?
greenstone
Posts: 29
Joined: Tue Oct 16, 2007 10:30 am

Post by greenstone »

I selected "attach" last time, but it appeared to not take. I will "attach" again. Are there restrictions on the attached file type? I will rename the .zip file to .zop.
greenstone
Posts: 29
Joined: Tue Oct 16, 2007 10:30 am

ScreenShots of trying to debug in the IA IDE

Post by greenstone »

Step 1

File Attached:

IAStep1.JPG
greenstone
Posts: 29
Joined: Tue Oct 16, 2007 10:30 am

ScreenShots of trying to debug in the IA IDE Step 2

Post by greenstone »

Step 2

File Attached:

IAStep2.jpg
greenstone
Posts: 29
Joined: Tue Oct 16, 2007 10:30 am

ScreenShots of trying to debug in the IA IDE Step 3

Post by greenstone »

Step 3

File Attached:

IAStep3.jpg
greenstone
Posts: 29
Joined: Tue Oct 16, 2007 10:30 am

ScreenShots of trying to debug in the IA IDE Step 4

Post by greenstone »

Step 4

File Attached:

IAStep4.JPG
Gizm0
Posts: 339
Joined: Wed Nov 09, 2005 8:47 pm

Post by Gizm0 »

Click at "Design" tab , then "Deployment Section"->"Build Settings", check "Debug Build" with Uncompressed Build selected. Rebuild on Uncompressed Build, then run with Debug button.
Panagiotis Kefalidis
Software Design Team Lead
\"In order to succeed, your desire for success should be greater than your fear of failure\"
Install[b]Aware[/b] Software Corporation
greenstone
Posts: 29
Joined: Tue Oct 16, 2007 10:30 am

Post by greenstone »

Hi Panagiotis,

Thanks for the reply.

I followed your steps and here are my results:

1.) Copied the "Createing IIS websites and Virtual Folders" CD sample into a directory
2.) Ran the "setup debugging/build with debugging" steps you outlined.

I re-ran the identical test 12 times (each time with a fresh copy of the CD sample directory).

Two of those 12 times, the debugger worked correctly (allowed me to step through code).

Ten of those 12 tests, the debugger failed to function (giving me the message about needing to build/run in debug mode).

I've attached a new screenshot showing the steps.

Thoughts on why I appear to be getting this behavior with the IDE debugger?

File Attached:

AllSteps.jpg
greenstone
Posts: 29
Joined: Tue Oct 16, 2007 10:30 am

Post by greenstone »

I also just tried uninstalling InstallAware, the reinstalling it.

==> same problem (cannot run in "debug" with the InstallAware IDE debugger)


IA build version: lonepine.rtm_071107
Post Reply