Jump to content

Hide Section & Eval.test


geitbo34

Recommended Posts

Hi there,

First of all, awesome program!! :thumbup

Here's my problem:

I have multiple software install sections and for each software install i used test.x and test.eval.x to verify if the installation already exists on the current PC. So far so good as it works perfect with xxxxxxx.exe?version. However when i try to hide the section if all software installs in that section exist and therefore are hidden, nothing happens.

Here's part of my install.ini code for the specifiec section:

[Environment]
smartftpversion = %ProgramFiles%\SmartFTP\SmartFTP.exe?version
deepburnerversion = %ProgramFiles%\Astonsoft\DeepBurner\DeepBurner.exe?version
7zipversion = %ProgramFiles%\7-Zip\7zFMn.exe?version

[Tools]
test.0= !%7zipversion% < 3.13.0.0
test.1= !%deepburnerversion% < 1.1
test.2= !%smartftpversion% < 1.1.984.17
test.eval = 0&1&2
hidden = if.true

description.0=7-ZIP
command.0=%SYSTEMDRIVE%\INSTALL\Applicaties\7zip\7z313.exe -y /q /r:n
test.0.0 = %7zipversion% < 3.13.0.0
test.eval.0=0
hidden.0 = if.false

;________________________________________________________________

description.1=Deepburner
command.1=%SYSTEMDRIVE%\INSTALL\Applicaties\Deepburner\deepburner1.exe -s
test.1.0 = %deepburnerversion% < 1.1
test.eval.1=0
hidden.1 = if.false

;________________________________________________________________

description.2=Smart FTP
command.2=%SYSTEMDRIVE%\INSTALL\Applicaties\SmartFTP\SmartFTP.msi /qb-
test.2.0 = %smartftpversion% < 1.1.984.17
test.eval.2=0
hidden.2 = if.false

Please help! :blink:

Thanks!

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...