is there a way to combine both french and english install with an if then else statement in the action description rather than creating two different custom tasks? I am hoping to preselect a group of computers for an application deployment and have the appropriate language used depending on their computer language.
Sure, that’s not too hard as long as you are using BES 6.0 or greater…
One question though, is there one download and then a different command line? Or is there a separate download for each?
The first way would look like this:
download http:
//xxx/Uploads/966ea09efdf9b5cab7e99d701a9916256da4a37a/big160.tmp
continue
if
{ (size of it = 641248912 and sha1 of it =
"966ea09efdf9b5cab7e99d701a9916256da4a37a") of file
"big160.tmp" of folder
"__Download"
} extract big160.tmp
if
{language of version block of file
"kernel32.dll" of system folder contains
"English"
} wait __Download\setup.exe /L1033 /v
"ISX_SERIALNUM=xxxxxxxxxxxx /qb"
else wait __Download\setup.exe /L1036 /v
"ISX_SERIALNUM=xxxxxxxxxxxx /qb" endif
This way would do a conditional download if there are 2 separate downloads, but uses the same command to install either version:
if
{language of version block of file
"kernel32.dll" of system folder contains
"English"
} download http:
//xxx/Uploads/966ea09efdf9b5cab7e99d701a9916256da4a37a/big160.tmp
continue
if
{ (size of it = 641248912 and sha1 of it =
"966ea09efdf9b5cab7e99d701a9916256da4a37a") of file
"big160.tmp" of folder
"__Download"
} extract big160.tmp
else download http:
//xxx/Uploads/966ea09efdf9b5cab7e99d701a9916256da4a37a/big160.tmp
continue
if
{ (size of it = 641248912 and sha1 of it =
"966ea09efdf9b5cab7e99d701a9916256da4a37a") of file
"big160.tmp" of folder
"__Download"
} extract big160.tmp endif wait __Download\setup.exe /L1033 /v
"ISX_SERIALNUM=xxxxxxxxxxxx /qb"