Check OS version for making of a tile
Posted: 07. Mar 2014, 15:11
Hello,
We are about to deploy Windows 8.1 tablets and are currently in the process of checking our packages.
In some cases we want to deploy a Metro Tile with the package, so there wil be a tile for the software in the Metromenu. We have got this working, but we do not want to create copies of our packages for Windows 7. How can I create an if statement that looks at the OS?
This is what we’ve got:
Any help would be great!
Thanks,
Sander
We are about to deploy Windows 8.1 tablets and are currently in the process of checking our packages.
In some cases we want to deploy a Metro Tile with the package, so there wil be a tile for the software in the Metromenu. We have got this working, but we do not want to create copies of our packages for Windows 7. How can I create an if statement that looks at the OS?
This is what we’ve got:
Code: Select all
[Product]
;#FileCheckMachine, MACHINE
;#FileCheckClient, CLIENT
;ReplaceEnv <Variable>
#Set:Product
#Reg:OnUninstallProduct, DELETE
#Reg:Product
#Ini:Product
#Security:Product
[Set:Product]
1:HARMONY_Client.rdp, , NORMAL, 1430
These 4 lines should only be done on a Windows 8 machine
-----------------------------------------------------------------
1:Tiles\OblyTile.exe, C:\, CLIENT MACHINE, 3804672
1:Tiles\Harmony\create_tile.cmd, C:\, CLIENT MACHINE, 286
1:Tiles\Harmony\Harmony.png, C:\, CLIENT MACHINE, 9156
CALL c:\Tiles\Harmony\create_tile.cmd
-----------------------------------------------------------------
Thanks,
Sander