Hi guys,
I have a number of features which are laid out as follows:
ContentAgent - installing into C:\ProgramFiles (x86)\ROOT6\ContentAgent
ContentCentral - installing into C:\ProgramFiles (x86)\ROOT6\ContentCentral
JobAgent - installing into C:\ProgtamFiles (x86)\ROOT6\JobAgent
My issue is that when I run the installer, in the wizard, the product install path always shows "C:\Program Files (X86)\ContentAgent" which is incorrect, since the root path for all components is "ROOT6", I would therefore expect to see "C:\Program Files (x86)\ROOT6" not "C:\Program Files (X86)\ContentAgent".
When I run the installer with the default product install path "C:\Program Files (X86)\ContentAgent", the files install themselves into the correct directory (as above) anyway so I can only imagine that it is getting this data from the product name or something and that this information actually has no bearing on the installation process.
Is there a way I can edit this value so that it displays the correct information?
Many thanks,
Damien
How can I set the product install path.
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: How can I set the product install path.
Dear Damien,
what you are asking is really simple to achieve.
I don't know if you changed anything respect the default settings available with any IA project, but supposing you didn't, these can be released with the following steps;
1- Define the target directory in the "Project Properties".
This by default is defined as; $PROGRAMFILES$\$TITLE$, you should change it to $PROGRAMFILES$\ROOT6 in case your "Product name" differs from "ROOT6". Alternatively, leave this as by default ($PROGRAMFILES$\$TITLE$) and enter ROOT6 with the "Product name".
Due the above settings, the TARGETDIR pre-defined variable will be initialized accordingly in the main script (MSICode view).
The TARGETDIR pre-defined variable is also used by the "Destination Dialog" to display the default install path at setup Runtime (eg. "C:\Program Files (X86)\ROOT6").
2- Finally set the appropriate destination folder with each feature.
For example;
ContentAgent - install to $TARGETDIR$\ContentAgent
ContentCentral - install to $TARGETDIR$\ContentCentral
JobAgent -install to $TARGETDIR$\JobAgent
That's it!
Regards
what you are asking is really simple to achieve.
I don't know if you changed anything respect the default settings available with any IA project, but supposing you didn't, these can be released with the following steps;
1- Define the target directory in the "Project Properties".
This by default is defined as; $PROGRAMFILES$\$TITLE$, you should change it to $PROGRAMFILES$\ROOT6 in case your "Product name" differs from "ROOT6". Alternatively, leave this as by default ($PROGRAMFILES$\$TITLE$) and enter ROOT6 with the "Product name".
Due the above settings, the TARGETDIR pre-defined variable will be initialized accordingly in the main script (MSICode view).
The TARGETDIR pre-defined variable is also used by the "Destination Dialog" to display the default install path at setup Runtime (eg. "C:\Program Files (X86)\ROOT6").
2- Finally set the appropriate destination folder with each feature.
For example;
ContentAgent - install to $TARGETDIR$\ContentAgent
ContentCentral - install to $TARGETDIR$\ContentCentral
JobAgent -install to $TARGETDIR$\JobAgent
That's it!
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: How can I set the product install path.
Hi Fransesco,
How wonderfully simple, I can't believe I missed this! Thank you so much for the info, that really helps.
I have to say my experience of using your package so far has been very positive compared to other installer packagers I've used in the past i.e. Wise which seemed needlessly complicated. I also like the sophistication of the resulting installation wizard. Up until now we've been rolling our own, which was fine in the days of Windows XP in Admin mode and Windows 7 with UAC turned off, but with all the privilege stuff it is quite challenging so we've been looking for something that will allow us to build an installer that will work on any Windows system and so far it looks like InstallAware will do exactly what we need!
I will probably have a few more questions as I get to grips with the software but your support so far has been fast and very helpful.
Many thanks,
Damien
How wonderfully simple, I can't believe I missed this! Thank you so much for the info, that really helps.
I have to say my experience of using your package so far has been very positive compared to other installer packagers I've used in the past i.e. Wise which seemed needlessly complicated. I also like the sophistication of the resulting installation wizard. Up until now we've been rolling our own, which was fine in the days of Windows XP in Admin mode and Windows 7 with UAC turned off, but with all the privilege stuff it is quite challenging so we've been looking for something that will allow us to build an installer that will work on any Windows system and so far it looks like InstallAware will do exactly what we need!
I will probably have a few more questions as I get to grips with the software but your support so far has been fast and very helpful.
Many thanks,
Damien
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: How can I set the product install path.

Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Who is online
Users browsing this forum: Bing [Bot] and 137 guests