Old 28th April 2015, 04:52   #1
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
#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.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump