We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

wuhi
Posts: 2
Joined: Wed Apr 23, 2014 10:45 am

Shortcut to exe in installer-dir

Hi!

I dont want to copy any files to target machine.
i only want to use the installer to install some frameworks and other preprequisites.

my application is located on a network-share like this:

\\myServer\\myShare
\myApp
\myApp\system\bin\app.exe
\myApp\install\setup.msi

so i need to know the folder of the installer-dir to get into \system\bin and create an icon to app.exe

is this possible?

all the best,
wuhi
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Shortcut to exe in installer-dir

Hi Wuhi and welcome to Advanced Installer forums.

Thank you for your interest in Advanced Installer.
I dont want to copy any files to target machine.
i only want to use the installer to install some frameworks and other preprequisites.
To achieve this you can go in the Prerequisites page and add your prerequisites as described in the Add Prerequisite tutorial.
my application is located on a network-share like this:

\\myServer\\myShare
\myApp
\myApp\system\bin\app.exe
\myApp\install\setup.msi

so i need to know the folder of the installer-dir to get into \system\bin and create an icon to app.exe
I'm afraid I don't fully understand this scenario. Can you give us more details about it (maybe exemplify)?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
wuhi
Posts: 2
Joined: Wed Apr 23, 2014 10:45 am

Re: Shortcut to exe in installer-dir

Hi Eusebiu!

thx for the quick reply.

the point is, that i dont want to include all my application-files into the installer. the installer should only create the icon.
and the icon should target on a exe in the folder-structure where the setup.msi is located.

i tried to configure the icon like here: http://snag.gy/6Pxd5.jpg
here is an example for my application-structure: http://snag.gy/Dwprj.jpg
but [SourceDir] wont work :-(

myapp.exe is located in system\bin
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Shortcut to exe in installer-dir

Hi,

I tested and configured an external shortcut just as you showed in your image and it worked well to me. However, in your "application-structure" image I noticed that you have an EXE package, not an MSI one and that is why the [SourceDir] property is not resolved to the value that you expect it to.

If you have an EXE package, the MSI package is extracted during the installation to the "[AppDataFolder][|Manufacturer]\[|ProductName] [|ProductVersion]\install" location, and the [SourceDir] property will contain that path. No problem, you can use the [SETUPEXEDIR] property instead, which contains the path to the EXE package.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”