How do I stop debugging?

Got a problem you cannot solve? Try here.
Post Reply
wileywilly
Posts: 30
Joined: Thu Feb 08, 2007 5:11 am

How do I stop debugging?

Post by wileywilly »

I upgraded to version 7 recently and I think am most impressed by the UI. One problem though - I cant seem to get my setup to stop debugging .
When I cancel the setup (in debug mode running within the ide) the dialog freezes. Am only able to close the dialog from the task manager.
Has anyone experienced this or am I doing something wrong?
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Are you clicking the setup wizard dialog that is showing away? If its a wizard step, you need to click the Next button (or another button that returns from the dialog to abort debugging).
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
wileywilly
Posts: 30
Joined: Thu Feb 08, 2007 5:11 am

Post by wileywilly »

I have tried clicking the dialog away but it still doesn't go away.
This only happens when I click on the cancel button - next and back buttons do exactly what they ought to do.

Am using scripts I built with version 6(they run ok in v6)
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Can't reproduce. Anyone else seeing this behavior?
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
wileywilly
Posts: 30
Joined: Thu Feb 08, 2007 5:11 am

How do I stop debugging - SOLVED.

Post by wileywilly »

I finally solved the debug issue - my setup script contains a call dll function which informs the host application that setup is finished therefore passing control from the setup to the host application.

My code during the 'dialog freeze'

[DEFINE REGION: Process (Un)Installation]
label: Main Install
Comment: Exit Setup if Wizard Loop cancelled
if Variable WIZARD Equals CANCEL
Call DLL Function $APP_REGISTER_DLL$->EndInstall (get result into variable CallDLL_CHECK)
Terminate Installation
end

I changed the code so that the call dll function comes after the Terminate Installation command
The CANCEL button now does just that - It cancels setup

Thanks for your help and keep up the good work
Post Reply