infomaniac50 / dokan

Automatically exported from code.google.com/p/dokan
0 stars 1 forks source link

Silent install #159

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run dokaninstall_052.exe /S
2.
3.

What is the expected output? What do you see instead?
No messageboxes or anything popping up on the screen

Please provide any additional information below.

To fix this, simply add /SD at the end of the MessageBox calls in the NSIS 
script - eg MessageBox MB_OK "Please uninstall the previous version and 
restart your computer before running this installer." /SD

Also, in the .onInstSuccess function, wrap ${If} ${Silent} around the 
ExecShell command.

cheers :)

Original issue reported on code.google.com by sturm.net@gmail.com on 26 May 2010 at 1:41