![]() |
#1 |
Member
Join Date: Jun 2006
Location: Austria
Posts: 92
|
![]()
Hello guys
I have little problem with my app I added functionality to the uninstaller to check if the application is running code: It works, but if you press cancel on the messagebox and then cancel on the uninstaller i get the error Installer corrupted: invalid opcode If I put everythin in a tiny testinstaller (see attachment) it works, but not in my big app How can I find the error? Or even better: Does somebody have a clue what I'm doing wrong? |
![]() |
![]() |
![]() |
#2 |
Junior Member
Join Date: Aug 2010
Posts: 29
|
I am going to take a total stab in the dark here and am probably wrong, but it may be a stack corruption issue. Between your two files provided in the example.zip, there is a lot of stack manipulation.
In your function "un.Leave_PageConfirm" if the user chooses "cancel" you Abort. However, you haven't restored the stack by calling Push $1 and Push $0 before the Abort happens. Maybe by simply restoring the stack before aborting, your error will go away. Again, this is a stab in the dark and may be completely off (I am by no means an expert at this), so feel free to roll your eyes and disregard ![]() |
![]() |
![]() |
![]() |
#3 |
Member
Join Date: Jun 2006
Location: Austria
Posts: 92
|
thanks for the tip
i'm going to try it after the holidays..... |
![]() |
![]() |
![]() |
#4 |
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
You probably want to push at the beginning, then pop when you're done.
|
![]() |
![]() |
![]() |
#5 |
Member
Join Date: Jun 2006
Location: Austria
Posts: 92
|
![]() |
![]() |
![]() |
![]() |
|
Tags |
findprocess, uninstaller |
Thread Tools | Search this Thread |
Display Modes | |
|
|