Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Error when launching installer from network path (http://forums.winamp.com/showthread.php?t=380993)

Satara 27th April 2015 09:26

Error when launching installer from network path
 
Hi,

one of our customers complained that our installer is not startable from a network path. His error message was: "Error launching installer".

I myself wasn't able to reproduce this, neither on Windows 7 nor on Windows 8.1. But now a colleague gets a similiar problem on Windows 8.1 Pro.
When he tries to launch the installer from a network or unc drive he gets the message "Falscher Parameter" (Wrong Argument). Not sure if this is the german equivalent for "Error launching installer".

I already read on http://nsis.sourceforge.net/Why_do_I_get_NSIS_Error that this can happen, if the installer is started from a "forbidden location", but the examples listed there work fine for me (e.g. Windows, Program Files folder). My colleague also tried to launch the installer with the NCRC option, but the result was the same.

Does anyone know what is causing this problem?

Best,
Satara

Anders 28th April 2015 02:27

Could be anti-virus or other security software that is getting in the way. Possibly also the ACL on the folder and/or share...

Lightman4747 28th April 2015 04:09

Try to repeat like on this video https://youtu.be/mWk9T8WXXJc

Anders 28th April 2015 04:52

#define _LANG_CANTOPENSELF _T("Error launching installer") and it looks like that can only happen when it is unable to open itself, to be precise, the call to CreateFile with GENERIC_READ,FILE_SHARE_READ,OPEN_EXISTING fails. (This message is always in English)

A error like this can be caused by anti-virus software but I cannot really understand why they would block a read request.

I'm guessing it is one of these two issues:

A) Accessing the file over UNC is slightly slower or handled differently in the kernel so the AV software steps on our toes.

B) We end up using the wrong path for some reason, not sure why that would happen but there might be network, virtualization and file redirection going on.

It would really help if we could get a Process Monitor log so we can at least find out if the open operation fails with access denied, not found or even some other error.


All times are GMT. The time now is 18:05.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.