Archive: script fail with "Can't open script """


script fail with "Can't open script """
Hello

i have a strange situation, i'm compiling my script on a linux machine via wine.
the script is running fine and preforms as done when running on a windows station , but in the end it exits with an error of [Can't open script ""]

this is done AFTER the uninstall section :
--------------------------------------------
Section: "Uninstall"
RMDir: /r "C:\TEST"
DeleteRegKey: HKCU\Software\TEST
SectionEnd
Can't open script ""
~
----------------------------------------------

has anyone encountered a similar problem before ?

Thanks

m-wise


RMDir: /r "C:\TEST"


That wouldn't be the location your running the script from is it?

I haven't used Wine, and I rarely use Unix. Does Wine emulate the Windows Temporary folders? Perhaps the way NSIS is supposed to copy itself to $Temp before running, doesn't behave the same on Unix. Therefore, maybe NSIS runs from the current directory, which would attempt to delete your script while your running it.


Looks like you're passing an extra parameter to makensis that tells it to compile the script "". If you're not directly passing that command line parameter, it might be a bug in the Wine version you're using. Try a newer version.