Skylla
Posts: 17
Joined: Thu Jan 24, 2013 1:44 pm

Getting bootstrapper directory

Hello

Is it possible to get directory from where the bootstrapper is launched?

"SourceDir" cannot be used because the msi packages are included within the bootstrapper (and thus SourceDir is not the location of the bootstrapper, but of the extracted msi files)
Skylla
Posts: 17
Joined: Thu Jan 24, 2013 1:44 pm

Re: Getting bootstrapper directory

Maybe i should add that i'm trying to create a log file in the directory where the bootstrapper is launched from

I tried setting the MSI command line to:
/lv [SETUPEXEDIR]install.log

But this does not seem to work
Daniel
Posts: 8279
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Getting bootstrapper directory

Hello,

In order to achieve what you want you should set the "MSI Command Line" field, from "Media -> Configuration" tab, like this:

Code: Select all

/L*V [SETUPEXEDIR]install.log
Also, you can take a look on our "Properties" article.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”