How do I stop debugging?

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

How do I stop debugging?

Postby wileywilly » Thu Jul 12, 2007 10:19 am

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:

Postby MichaelNesmith » Thu Jul 12, 2007 10:55 am

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

wileywilly
Posts: 30
Joined: Thu Feb 08, 2007 5:11 am

Postby wileywilly » Thu Jul 12, 2007 11:23 am

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:

Postby MichaelNesmith » Thu Jul 12, 2007 1:38 pm

Can't reproduce. Anyone else seeing this behavior?
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

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.

Postby wileywilly » Mon Jul 16, 2007 1:30 am

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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 162 guests