litu
Posts: 71
Joined: Fri Mar 22, 2013 2:57 pm

How to skip prerequisites check?

Hello,

Sometimes, we need to install our applications on machines that doesn't meet the prerequisites configured (for testing purposes or for clients that doesn't have the hardware yet). Is there a way to tell the installer that it does not have to check for the operating system, the amount of RAM installed neither the customized ones?

Thanks in advance for any help,
Arnau.
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: How to skip prerequisites check?

Hello Arnau,

I'm not sure I fully understand your scenario. Can you please give us more details(maybe exemplify)?

If you want to ship the System Launch Conditions, please note that you can duplicate your build in the Media page.

Also you should go in the System Launch Condtions tab from the Launch Conditions page and disable the launch conditions options for the second build.
BuildSelection.jpg
BuildSelection.jpg (207.53 KiB) Viewed 14724 times
Please let us know if that helped.

Best regards.
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
litu
Posts: 71
Joined: Fri Mar 22, 2013 2:57 pm

Re: How to skip prerequisites check?

Hi,

The worst scenario is this: a customer buys our software (payroll software), but he hasn't any server yet. We require a dedicated server (or two, depending on how many employees has the company). It's the end of the month and he needs to run our software (to pay salaries). Our product, once built is more than 850Mb. In my first thought, I don't want the client to download another build (in Spain, internet speed access is not what it can be, it's slower than the Europe's average). So, I want the option to tell the customer: "hey, don't worry, pick some pretty good computer, run "install.exe /nocheck (or something similar) and pay your workers, it will take a lot of time, but they deserve their salaries". Once our customer has the server, we'll migrate from the computer to the server (installing the software from the same source he already has).

For testing purposes I can make another build because the network speed is not that bad.

I hope this scenario is clearer than the first one. :)

Thanks again,
Arnau.
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: How to skip prerequisites check?

Hi Arnau,

In order to skip the launch condition you can go in the Install Parameters page and create your own public property.
You can have something like that:
Name: field SKIP_PREREQ_CHECK
Value: field No

Then you can go in the Table Editor page and in the LaunchCondition table and add in each system launch condition which you have defined before add the OR operator with the previous property SKIP_PREREQ_CHECK.
Let's suppose you don't want that your installation package to run on machines where the Minimum Physical Memory is less than 2048 MB.
Then in the launchCondition table you will have the following condition:

Code: Select all

PhysicalMemory >= AI_MINRAM OR SKIP_PREREQ_CHECK = "Yes"
So your installation package will be installed on a machine which doesn't fulfill the minimum system requirement only if the previos defined property will be set to Yes value.

In order to launch your installation package from the command line, you can use the following statement:
Setup.exe SKIP_PREREQ_CHECK="Yes"

Please let us know if that helped, otherwise give us more details.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
litu
Posts: 71
Joined: Fri Mar 22, 2013 2:57 pm

Re: How to skip prerequisites check?

Hello,

I've seen the System Launch Conditions and there is no check for the operating system. Could I skip this one too?

Thanks a lot,
Arnau.
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: How to skip prerequisites check?

Hi Arnau,

In the "System" tab from the "Launch Conditions" page you can enable the Supported Operating Systems for your application.
SupportedOs.jpg
SupportedOs.jpg (53.66 KiB) Viewed 14685 times
You can skip the launch conditions for the operating systems too. In the LaunchConditions table from the Table Editor page, on the first row should be displayed the "Supported Operating Systems" conditions.
E.g.

Code: Select all

( Version9X OR (VersionNT AND (NOT VersionNT64)) )
where:
  • -Version9X - this property is set to the version number for Microsoft Windows 95, Windows 98 or Windows Me operating systems (it is empty when the OS is not one of these versions)
    -VersionNT - this property is set to the version number for the NT operating systems (it is empty when the OS is not one of the NT versions: Windows NT, Windows 2000, Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008 or Windows 7)
    -VersionNT64 - this property is set to the version number for the operating system only if the system is running on a 64-bit computer (it is empty if the package runs on a non-64 bit computer)
Please take a look on the Install resources based on the OS version article which may be useful to you.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
litu
Posts: 71
Joined: Fri Mar 22, 2013 2:57 pm

Re: How to skip prerequisites check?

Thanks a lot. This worked just as we needed.
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: How to skip prerequisites check?

You're welcome.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”