Brian R. Bondy
Brian R. Bondy

Reputation: 347216

NSIS get path of current installer file that is running

Is there an NSIS var to get the path of the currently running installer?

Upvotes: 30

Views: 13678

Answers (2)

Maxim Suslov
Maxim Suslov

Reputation: 5465

There are few useful variables:

  • $EXEPATH - holds installer filename.
  • $EXEDIR - holds the complete path to the installer.

So according to the topic

NSIS get path of current installer file that is running

the most appropriate is $EXEDIR.

Upvotes: 17

Brian R. Bondy
Brian R. Bondy

Reputation: 347216

Found it: $EXEPATH

Upvotes: 34

Related Questions