Archive: Name of the NetShare I'm Executing from


Name of the NetShare I'm Executing from
Ok, Now I'm sure that I have searched the Forums and the Helpfiles, but anyway there where no results matching on my needs

My Problem is quite simple I think (don't know if the solution is too):

I want to run the Installer from a Shared Network folder
as an Example "\\SERVER\Shared\" which is "C:\Program Files\My App" on this machine

so the path of the installer would be shown like this in the Network:
"\\SERVER\Shared\Installer.exe"

When I use $EXEDIR in the Installer I only get "C:\Program Files\My App" But I need the "Shared Path"

Hope anyone understands what I mean...

(Yes, I've searched the Forums - Yes, I found the Stuff about the IPs - No, I don't understand much about APIs - and yes, I'm despaired)


This is Windows system trick. Right now I tested my installation from networks drive with

Messagebox MB_OK "Exedir is $EXEDIR"

and I can see "Exedir is \\Bar\takhir"
Please note, that this (Lnux Samba) path is NOT mounted as network drive.


thx Takhir

thats really interesting...
im sure the last time I tried it it didn't work...

well this was a few time ago...maybe I had another NSIS version :confused:

sorry for bothering you