Old 20th January 2009, 15:19   #1
anand.choubey
Junior Member
 
Join Date: Jan 2009
Posts: 3
Lightbulb How does unintall.exe work ?

Hi All,

I am fighting with problem.

I understand that uninstall.exe extracts au_.exe, launches it and then terminate.
Is it correct?

If yes then
Problem is:

uninstall.exe is launched by an application( I have its source code).
this application waits only on uninstall.exe termination.
application assumes that un-installation is completed successfully because it waits on it.

Actually un-installation is done by AU_.exe.
How can my application wait on un-installation process?

Thanks In Advance.
anand.choubey is offline   Reply With Quote
Old 20th January 2009, 15:38   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
ExecWait '"uninstaller.exe" _?=$instdir'
(copy the uninstaller to $temp first and run it from there if you need to delete "$instdir\uninstaller.exe")

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 21st January 2009, 09:43   #3
anand.choubey
Junior Member
 
Join Date: Jan 2009
Posts: 3
Thanks for your reply.

Sorry!!!
I could not understand what does this statement do?
I added this statement in uninstall section of my script but application did not wait till completion of uninstall.
anand.choubey is offline   Reply With Quote
Old 21st January 2009, 12:15   #4
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
You have to run that command line when you run the uninstaller to wait for it to finish.

Stu
Afrow UK is offline   Reply With Quote
Old 22nd January 2009, 04:40   #5
anand.choubey
Junior Member
 
Join Date: Jan 2009
Posts: 3
Hi Stu,

Thanks for your reply.

Sorry!!! I could not understand your statement.

"You have to run that command line when you run the
uninstaller to wait for it to finish."

Please elaborate more it.
anand.choubey is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump