I have an issue with the client application being produced as a zip file. I have a customer who has downloaded from the provided download page the client zip file and they got a warning from windows that this was not trusted. I know this is usual but they were worried about the message this was going to give to end users.
Is there a way of providing an installer which unzips the client and installs it?
This looks for me like an Windows System setting. Could you please describe the warning more precise? Or even better provide a screenshot?
Of interest would be if the warning appears during the download or during unzipping. Have you already googled for the issue?
You have to add this to the install section (after setOutPath)
# Files added here should be removed by the uninstaller (see section "uninstall")
NSISdl::download "http://URLTOZIPFILE" "$PLUGINSDIR\localfile.zip"
Pop $R0 ;Get the return value
StrCmp $R0 "success" +3
MessageBox MB_OK "Download failed: $R0"
nsisunz::UnzipToLog "$PLUGINSDIR\localfile.zip" "$INSTDIR"
StrCmp $R0 "success" +2
DetailPrint "$R0" ;print error message to log
This is from our installer file and probably I have changed and added something else. So probably this doesn't work out of the box but it should give you a start.
Just one small question how do I get the app.ico file to appear in the InstallDir, the unzip of the client gives me the .exe file but I can't get it to provide an ico. The eclipse branding embeds the icon in the exe file.