cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
slemieux
Level 4

Get the self-extracting executable file path

Hi!

I'd like to know if it's possible, in an InstallScript project, to get the path of the self-extracting executable file?

I need that to check if a file has been manually placed at the same place by the user. If so, I use it, if not, I use the one I have in support.

Thanks!

Sebastien
Labels (1)
0 Kudos
(4) Replies
RobertDickau
Flexera Alumni

Perhaps see if PACKAGE_LOCATION has the value you want.
0 Kudos
slemieux
Level 4

PACKAGE_LOCATION is always empty.
0 Kudos
RobertDickau
Flexera Alumni

Hmmm... It's a pure InstallScript project, using a self-extracting executable from the "Create a single file executable" option on the General Information panel of the Release Wizard? How are you displaying the value of PACKAGE_LOCATION?
0 Kudos
slemieux
Level 4

OK, I found the problem. When PACKAGE_LOCATION is displayed in debug mode, it's empty. But at runtime, if I display the value in a messagebox, I get the complete path.

Thanks for your help!
0 Kudos