Old 15th April 2018, 15:20   #1
Gluck
Member
 
Join Date: Apr 2018
Posts: 80
Drag 'n drop

Sorry for the duplicate post, I have seen right now this is the correct section...

I'm a newby and I'm learning scripting NSIS to make portable application with a launcher.

As a test, I have downloaded a software "Batch Media Info Supporter" from here: https://sites.google.com/site/tsdark...ainfosupporter

It is simple so should be easy to work with.

I have written in the .nsi script:

WindowIcon Off
SilentInstall Silent
AutoCloseWindow True
OutFile Batch.exe

Section
ExecWait "$EXEDIR\App\BatchMediaInfoSupporter.exe"
SectionEnd

The code is right. Compiled right.

If I open the program in the original folder everything is right, if I open BMIS from the launcher, everything is right but drag 'n drop not works...

WHY???

(I have seen the same behaviour in other programs too)...

Thanks.
Gluck is offline   Reply With Quote
Old 15th April 2018, 20:58   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,891
Dragging to elevated programs is blocked by UAC. Add "RequestExecutionLevel user" to your script...

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 16th April 2018, 07:42   #3
Gluck
Member
 
Join Date: Apr 2018
Posts: 80
Work fine.

Thanks.

NSIS seems to be a great program!!!
Gluck 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