Old 15th April 2018, 16:20   #1
Senior Member
Join Date: Apr 2018
Posts: 103
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

ExecWait "$EXEDIR\App\BatchMediaInfoSupporter.exe"

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...


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

Gluck is offline   Reply With Quote
Old 15th April 2018, 21:58   #2
Anders's Avatar
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,321
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, 08:42   #3
Senior Member
Join Date: Apr 2018
Posts: 103
Work fine.


NSIS seems to be a great program!!!
Gluck is offline   Reply With Quote
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