|
|
#1 |
|
Junior Member
Join Date: Feb 2006
Posts: 5
|
Remove uninst.exe and reinstall
In the Uninstall section I delete the Uninst.exe file and then I remove $INSTDIR.
Now if I run the Uninst.exe (it works right, it delete itself and remove $INSTDIR) and after setup.exe (without reboot) the file Uninst.exe doesn't appear in $INSTDIR. To solve this I've to run setup.exe twice. I've WinXP SP2. The attached file is a simple script that shows the problem. Thanks |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Feb 2004
Location: Moscow, Russia
Posts: 1,222
|
Move SetOutPath $INSTDIR to the first section, otherwise destination dir not exists and Uninstaller copy fails.
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Feb 2006
Posts: 5
|
Many thanks Takhir it works fine.
But I think the behavior is enough odd, why the second time (or the absolutely first time) the uninstaller copy doesn't fail ? |
|
|
|
|
|
#4 |
|
Major Dude
Join Date: Feb 2004
Location: Moscow, Russia
Posts: 1,222
|
Copy fails first time because folder not exists yet, but installer sets error flag only (IfErrors) and not displays message box. You can send bug report or feature request
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|