ezderek
Posts: 1
Joined: Sat Nov 24, 2012 9:33 am

new user - conditional install issue

Hello. We've been using Wise for years (nothing bad to say about it) but we want to modernize and we really like the design of your product.
But 3 issues have us stumped - and honest - we have read the help file and this forum. There are many possibilities but none of them seem quite right. If you can point us in the right direction it would be great.

1/. How can we read specific registry keys and then decide if/how/where to install certain files based on what we do or don't find, (including -- if the key is absent).
2/.How can we determine if the target machine is 32 or 64 bit. With Wise we just looked for a program files (x86) folder. Can we do that?
3/. If Access RT is not installed on the target, can we make the install branch and download and install Access RT before continuing?

I apologize if these questions seem naive or ignorant or even stupid. We hope to become proficient much more quickly with a bit of help from you.

Many thanks for your time.
Derek.
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: new user - conditional install issue

Hello Derek and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.
1/. How can we read specific registry keys and then decide if/how/where to install certain files based on what we do or don't find, (including -- if the key is absent).
In order to achieve this you can use a registry search (e.g. MY_REG). Then, you can condition the installation of the related files components using MY_REG property in the "Condition" field from "Organization -> Components Properties" right pane.
2/.How can we determine if the target machine is 32 or 64 bit. With Wise we just looked for a program files (x86) folder. Can we do that?
In order to achieve this you can use the "VersionNT64 property". You can take a look on our "Install resources based on the OS version" article.
3/. If Access RT is not installed on the target, can we make the install branch and download and install Access RT before continuing?
You can add our "Access Runtime" predefined prerequisite as a pre-install prerequisite to your project.

Let us know if this helps, otherwise please give us more details about your scenario.

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

Return to “Building Installers”