jimpark / unsis

Automatically exported from code.google.com/p/unsis
Other
59 stars 15 forks source link

A certain script makes uninstaller a not valid win32 aplication #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Write a nsi script, or just edit the example2.nsi
2. Page part like this

Page instfiles
UninstPage uninstConfirm
UninstPage instfiles

3. do not add more pages

What is the expected output? What do you see instead?
Everything should be fine. However, after installation and launching the 
uninstaller, it appears that the uninstaller is not a valid win32 aplication, 
and its size is 50KB.

What version of the product are you using? On what operating system?
NSIS 2.46.5 Unicode, on Windows 7 sp1.

Please provide any additional information below.
if add any page, like

Page directory
Page instfiles
UninstPage uninstConfirm
UninstPage instfiles

or

Page instfiles
UninstPage uninstConfirm
UninstPage components
UninstPage instfiles

the uninstaller would be just OK with a size of 51kb or more.

Original issue reported on code.google.com by xiez...@gmail.com on 27 Jun 2012 at 1:14

GoogleCodeExporter commented 9 years ago
The bug is introduced in version nsis-2.46.2-Unicode-setup.exe
nsis-2.46.1-Unicode-setup.exe works fine.

Original comment by daniel.l...@gmail.com on 23 Aug 2012 at 8:33

GoogleCodeExporter commented 9 years ago

Original comment by j...@scratchpaper.com on 30 Aug 2012 at 5:21

GoogleCodeExporter commented 9 years ago
Issue 25 has been merged into this issue.

Original comment by j...@scratchpaper.com on 30 Aug 2012 at 5:22

GoogleCodeExporter commented 9 years ago
Building with MS VC9 fixes this issue.

Original comment by j...@scratchpaper.com on 14 Mar 2013 at 5:25

GoogleCodeExporter commented 9 years ago
I installed MS VC9 and Uninstaller.exe still doesn't work. (Nsis 2.46.5, window 
7 x64 sp1)

Original comment by Phong...@gmail.com on 12 Jul 2013 at 8:02