Commit Graph

17 Commits

Author SHA1 Message Date
Cyrill Gorcunov
98de334949 nsis: Remove desktop bat link as well
In case of installation procedure being used in
a per-user fasion the display link to a bat file
remain untouched at uninstallation time. Fix it.

I hope this time all things go smooth.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-07-15 23:13:26 +04:00
Cyrill Gorcunov
ee42e62c7c nsis: Inform a user about files being deleted
Since a user might have some weird access rules on NTFS
such as allow to write files but not to delete them it
might happen that uninstallation procedure fails at
deleting files but deleting registry keys still success,
and in result a user might try to uninstall nasm for second
time with registry keys corrupted.

So prompt a user with files being deleted so he can double
check what is going on.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-07-15 22:38:47 +04:00
Cyrill Gorcunov
117eaa35ef nsis: Make sure the registry keys exist
It was reported on nasm forum (http://forum.nasm.us/index.php?topic=1013.0)
that if uninstallation procedure get stopped (for any reason) in a middle
leading to read empty registry values an attempt to remove arbitrary
files might happen. So make sure there are some sane values in registry.

N.B: People, if you find some bug in nasm, don't write to forum, file
bug directly in bugzilla, if it's not a bug we simply close it, otherwise
we might miss serious problems like this one!

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-07-07 00:56:35 +04:00
Cyrill Gorcunov
8186a0061a nasm.nsi: use "delete recursively" specificator
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2009-09-27 16:00:06 +04:00
Cyrill Gorcunov
54c8ccb443 nsis.nsi: add VS8 rules file to install
Add "VS8 intergartion" section with appropriate
files to be installed on user request.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2009-09-26 11:21:20 +04:00
Cyrill Gorcunov
81d07c127d nasm.nsi: fixup shortcut target on nasm manual
There is no "manual.pdf" but "nasmdoc.pdf" instead.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2009-09-23 23:33:11 +04:00
Cyrill Gorcunov
0c1bd06a6c nasm.nsi: fixup output name
Sigh... It should be PACKAGE_SHORT_NAME
rather then PRODUCT_SHORT_NAME.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2009-09-23 21:29:57 +04:00
Cyrill Gorcunov
587f10ec47 nasm.nsi: set compressor before MUI macros
MULTIUSER_MUI may set own compressor so we
need to set it earlies to success.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2009-09-23 21:14:32 +04:00
Cyrill Gorcunov
6bd3f0bd9c nasm.nsi: restore old output name and compressor
Othrewise build robot fails

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2009-09-23 20:43:34 +04:00
Cyrill Gorcunov
33dd6d94c3 nasm.nsi: do not define VERSION twice
VERSION is already defined in version.nsh
no need to define it araing otherwise nsis
compiler fails.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2009-09-23 17:45:01 +04:00
Cyrill Gorcunov
c29cdb961e substitute nasm.nsi with new nasm2.nsi
We always have "restore point" but such an action will
allow us to test new installer in more wide audience.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2009-09-21 23:15:55 +04:00
H. Peter Anvin
4ea9cede34 nasm.nsi: remove COPYING; add LICENSE
The licensing information has been moved into file LICENSE.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2009-07-06 11:10:42 -07:00
H. Peter Anvin
5cc5589b73 nasm.nsi: in the "NASM shell", put NASM first in PATH
In the "NASM shell", it makes sense for NASM to be first in the PATH,
not last.  That way if the user has more than one version of NASM
installed, and one of them is global, the "NASM shell" for any one
version will still pick up the proper version.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2009-07-05 19:33:41 -07:00
H. Peter Anvin
86eb8b057f nasm.nsi: use LZMA compression
Using LZMA compression produces a significantly smaller installer
binary.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2009-07-05 19:17:07 -07:00
H. Peter Anvin
3692a63e0c nasm.nsi: add additional rdf2bin aliases
Add additiona rdf2bin aliases to nasm.nsi

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2009-07-05 18:24:30 -07:00
H. Peter Anvin
4c4177cb4d nasm.nsi: add COPYING to the list of files to package 2009-04-06 19:37:30 -07:00
H. Peter Anvin
d8979222e9 nasm.nsi: add NASM Manual; automate version generation
Add the NASM Manual (as a PDF) to the Windows installer, and abstract
out the version number.
2009-04-06 19:12:34 -07:00