APPV 5.0: Créer une bulle Office 2010 / 2013 compatible Powershell
il y a la méthode longue, à la MS, où on fait en sorte que vous vous perdiez et que vous appeliez MS à l'aide pour payer une fortune pour qu'un consultant le fasse... et plus bas... un auto à 99%:
0) Créez un MSP (avec C:\MSOFFICE2010 comme chemin d'installation) et config.xml (fr/en/sp...ce que vous voulez) pour office et un BATCH d'installation silencieuse.
Mon conseil:
1) créer une VM windows 7 x32 en anglais
pour avoir le répertoire en-us dans "C:\Program Files\Microsoft Application Virtualization"
2) pour faire ceinture/bretelles, parce qu'on veut être sûr de soi et pas recommencer 50 fois,
utiliser la ligne de commande suivante pour forcer la mode en-us pour UIL:
cscript //nologo <MDT SCRIPTROOT PATH>\RegionalSettings.wsf /UserLocale:en-US /SystemLocale:en-US /KeyboardLocale:"040c:0000040c" /UILanguage:en-US /GeoID:84
(pour revenir au mode fr-fr pour UIL: cscript //nologo <MDT SCRIPTROOT PATH>\RegionalSettings.wsf /UserLocale:fr-FR /SystemLocale:fr-FR /KeyboardLocale:"040c:0000040c" /UILanguage:fr-FR /GeoID:84)
liste des keyboard input: http://msdn.microsoft.com/en-us/goglobal/bb895996.aspx
list des GeoID: http://msdn.microsoft.com/en-us/library/windows/desktop/dd374073%28v=vs.85%29.aspx
et comme c'est dur à retrouver, et que l'url arrêtes pas de changer:
Geographical location identifier (Hex) Geographical location identifier (Decimal) Location
0x2 2 Antigua and Barbuda
0x3 3 Afghanistan
0x4 4 Algeria
0x5 5 Azerbaijan
0x6 6 Albania
0x7 7 Armenia
0x8 8 Andorra
0x9 9 Angola
0xA 10 American Samoa
0xB 11 Argentina
0xC 12 Australia
0xE 14 Austria
0x11 17 Bahrain
0x12 18 Barbados
0x13 19 Botswana
0x14 20 Bermuda
0x15 21 Belgium
0x16 22 Bahamas, The
0x17 23 Bangladesh
0x18 24 Belize
0x19 25 Bosnia and Herzegovina
0x1A 26 Bolivia
0x1B 27 Myanmar
0x1C 28 Benin
0x1D 29 Belarus
0x1E 30 Solomon Islands
0x20 32 Brazil
0x22 34 Bhutan
0x23 35 Bulgaria
0x25 37 Brunei
0x26 38 Burundi
0x27 39 Canada
0x28 40 Cambodia
0x29 41 Chad
0x2A 42 Sri Lanka
0x2B 43 Congo
0x2C 44 Congo (DRC)
0x2D 45 China
0x2E 46 Chile
0x31 49 Cameroon
0x32 50 Comoros
0x33 51 Colombia
0x36 54 Costa Rica
0x37 55 Central African Republic
0x38 56 Cuba
0x39 57 Cape Verde
0x3B 59 Cyprus
0x3D 61 Denmark
0x3E 62 Djibouti
0x3F 63 Dominica
0x41 65 Dominican Republic
0x42 66 Ecuador
0x43 67 Egypt
0x44 68 Ireland
0x45 69 Equatorial Guinea
0x46 70 Estonia
0x47 71 Eritrea
0x48 72 El Salvador
0x49 73 Ethiopia
0x4B 75 Czech Republic
0x4D 77 Finland
0x4E 78 Fiji Islands
0x50 80 Micronesia
0x51 81 Faroe Islands
0x54 84 France
0x56 86 Gambia, The
0x57 87 Gabon
0x58 88 Georgia
0x59 89 Ghana
0x5A 90 Gibraltar
0x5B 91 Grenada
0x5D 93 Greenland
0x5E 94 Germany
0x62 98 Greece
0x63 99 Guatemala
0x64 100 Guinea
0x65 101 Guyana
0x67 103 Haiti
0x68 104 Hong Kong S.A.R.
0x6A 106 Honduras
0x6C 108 Croatia
0x6D 109 Hungary
0x6E 110 Iceland
0x6F 111 Indonesia
0x71 113 India
0x72 114 British Indian Ocean Territory
0x74 116 Iran
0x75 117 Israel
0x76 118 Italy
0x77 119 Côte d'Ivoire
0x79 121 Iraq
0x7A 122 Japan
0x7C 124 Jamaica
0x7D 125 Jan Mayen
0x7E 126 Jordan
0x7F 127 Johnston Atoll
0x81 129 Kenya
0x82 130 Kyrgyzstan
0x83 131 North Korea
0x85 133 Kiribati
0x86 134 Korea
0x88 136 Kuwait
0x89 137 Kazakhstan
0x8A 138 Laos
0x8B 139 Lebanon
0x8C 140 Latvia
0x8D 141 Lithuania
0x8E 142 Liberia
0x8F 143 Slovakia
0x91 145 Liechtenstein
0x92 146 Lesotho
0x93 147 Luxembourg
0x94 148 Libya
0x95 149 Madagascar
0x97 151 Macao S.A.R.
0x98 152 Moldova
0x9A 154 Mongolia
0x9C 156 Malawi
0x9D 157 Mali
0x9E 158 Monaco
0x9F 159 Morocco
0xA0 160 Mauritius
0xA2 162 Mauritania
0xA3 163 Malta
0xA4 164 Oman
0xA5 165 Maldives
0xA6 166 Mexico
0xA7 167 Malaysia
0xA8 168 Mozambique
0xAD 173 Niger
0xAE 174 Vanuatu
0xAF 175 Nigeria
0xB0 176 Netherlands
0xB1 177 Norway
0xB2 178 Nepal
0xB4 180 Nauru
0xB5 181 Suriname
0xB6 182 Nicaragua
0xB7 183 New Zealand
0xB8 184 Palestinian Authority
0xB9 185 Paraguay
0xBB 187 Peru
0xBE 190 Pakistan
0xBF 191 Poland
0xC0 192 Panama
0xC1 193 Portugal
0xC2 194 Papua New Guinea
0xC3 195 Palau
0xC4 196 Guinea-Bissau
0xC5 197 Qatar
0xC6 198 Reunion
0xC7 199 Marshall Islands
0xC8 200 Romania
0xC9 201 Philippines
0xCA 202 Puerto Rico
0xCB 203 Russia
0xCC 204 Rwanda
0xCD 205 Saudi Arabia
0xCE 206 St. Pierre and Miquelon
0xCF 207 St. Kitts and Nevis
0xD0 208 Seychelles
0xD1 209 South Africa
0xD2 210 Senegal
0xD4 212 Slovenia
0xD5 213 Sierra Leone
0xD6 214 San Marino
0xD7 215 Singapore
0xD8 216 Somalia
0xD9 217 Spain
0xDA 218 St. Lucia
0xDB 219 Sudan
0xDC 220 Svalbard
0xDD 221 Sweden
0xDE 222 Syria
0xDF 223 Switzerland
0xE0 224 United Arab Emirates
0xE1 225 Trinidad and Tobago
0xE3 227 Thailand
0xE4 228 Tajikistan
0xE7 231 Tonga
0xE8 232 Togo
0xE9 233 São Tomé and Príncipe
0xEA 234 Tunisia
0xEB 235 Turkey
0xEC 236 Tuvalu
0xED 237 Taiwan
0xEE 238 Turkmenistan
0xEF 239 Tanzania
0xF0 240 Uganda
0xF1 241 Ukraine
0xF2 242 United Kingdom
0xF4 244 United States
0xF5 245 Burkina Faso
0xF6 246 Uruguay
0xF7 247 Uzbekistan
0xF8 248 St. Vincent and the Grenadines
0xF9 249 Venezuela
0xFB 251 Vietnam
0xFC 252 Virgin Islands
0xFD 253 Vatican City
0xFE 254 Namibia
0x101 257 Western Sahara (disputed)
0x102 258 Wake Island
0x103 259 Samoa
0x104 260 Swaziland
0x105 261 Yemen
0x107 263 Zambia
0x108 264 Zimbabwe
0x10D 269 Serbia and Montenegro (Former)
0x10E 270 Montenegro
0x10F 271 Serbia
0x111 273 Curaçao
0x114 276 South Sudan
0x12C 300 Anguilla
0x12D 301 Antarctica
0x12E 302 Aruba
0x12F 303 Ascension Island
0x130 304 Ashmore and Cartier Islands
0x131 305 Baker Island
0x132 306 Bouvet Island
0x133 307 Cayman Islands
0x135 309 Christmas Island
0x136 310 Clipperton Island
0x137 311 Cocos (Keeling) Islands
0x138 312 Cook Islands
0x139 313 Coral Sea Islands
0x13A 314 Diego Garcia
0x13B 315 Falkland Islands (Islas Malvinas)
0x13D 317 French Guiana
0x13E 318 French Polynesia
0x13F 319 French Southern and Antarctic Lands
0x141 321 Guadeloupe
0x142 322 Guam
0x143 323 Guantanamo Bay
0x144 324 Guernsey
0x145 325 Heard Island and McDonald Islands
0x146 326 Howland Island
0x147 327 Jarvis Island
0x148 328 Jersey
0x149 329 Kingman Reef
0x14A 330 Martinique
0x14B 331 Mayotte
0x14C 332 Montserrat
0x14E 334 New Caledonia
0x14F 335 Niue
0x150 336 Norfolk Island
0x151 337 Northern Mariana Islands
0x152 338 Palmyra Atoll
0x153 339 Pitcairn Islands
0x154 340 Rota Island
0x155 341 Saipan
0x156 342 South Georgia and the South Sandwich Islands
0x157 343 St. Helena
0x15A 346 Tinian Island
0x15B 347 Tokelau
0x15C 348 Tristan da Cunha
0x15D 349 Turks and Caicos Islands
0x15F 351 Virgin Islands, British
0x160 352 Wallis and Futuna
0x3B16 15126 Man, Isle of
0x4CA2 19618 Macedonia, Former Yugoslav Republic of
0x52FA 21242 Midway Islands
0x78F7 30967 Sint Maarten (Dutch part)
0x7BDA 31706 Saint Martin (French part)
0x6F60E7 7299303 Democratic Republic of Timor-Leste
0x9906F5 10028789 Åland Islands
0x9A55C4F 161832015 Saint Barthélemy
0x9A55D40 161832256 U.S. Minor Outlying Islands
0x9A55D42 161832258 Bonaire, Saint Eustatius and Saba
3) ensuite, installez Microsoft Application Virtualization le 5.0, au mieux le SP2 disponible depuis MDOP2012 (SW_DVD5_Dsktp_Optimization_Pck_2012_French_-2_MLF_X18-84576)
4) Arrêter les services parasites:
4.a) arreter et désactiver windows update
net stop wuauserv
sc config wuauserv start= disabled
4.b) arreter et désactiver Windows Defender:
net stop WinDefend
sc config WinDefend start= disabled
5) Office 2010 Deployment kit for App-V
5.a) Telecharger "Office 2010 Deployment kit for App-V" (x32) depuis:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=479f12f2-5678-493e-bce1-682b3ece5431
5.b) Et cadeau: la ligne de commande d'installation:
msiexec /i OffVirt.msi ADDLOCAL=Click2runMapi,Click2runOWSSupp,Click2runWDS,OSpp,OSpp_Core <Flag de votre OFFICE>=1 KMSSERVICENAME=/<FQDN de votre serveur KMS>/ KMSSERVICEPORT=1688
Liste des Flag OFFICE:
Properties for Office 2010 suites
---------------------------------
Flag Value Product for which licensing is enabled
PROPLUS 0 or 1 Microsoft Office Professional Plus
SMALLBUSBASICS 0 or 1 Microsoft Office Small Business Basics
STANDARD 0 or 1 Microsoft Office Standard
Properties for Office 2010 stand-alone applications
---------------------------------------------------
Flag Value Product for which licensing is enabled
ACCESS 0 or 1 Microsoft Access
EXCEL 0 or 1 Microsoft Excel
GROOVE 0 or 1 Microsoft SharePoint Workspace
INFOPATH 0 or 1 Microsoft InfoPath
ONENOTE 0 or 1 Microsoft OneNote
OUTLOOK 0 or 1 Microsoft Outlook
POWERPOINT 0 or 1 Microsoft PowerPoint
PROJECTPRO 0 or 1 Microsoft Project Professional
PROJECTSTD 0 or 1 Microsoft Project Standard
PUBLISHER 0 or 1 Microsoft Publisher
SPD 0 or 1 Microsoft SharePoint Designer
VISIOPREM 0 or 1 Microsoft Visio Premium
VISIOPRO 0 or 1 Microsoft Visio Professional
VISIOSTD 0 or 1 Microsoft Visio Standard
WORD 0 or 1 Microsoft Word
6) Office 2010 Sequencing kit for App-V
6.a) le télécharger ici:
go.microsoft.com/fwlink/?LinkId=285348
6.b) l'installer dans C:\SequencingKit
7) Créer la Séquence Office 2010:
Ajouter les exclusions suivantes dans "Tools -> Options\"Exclusion Items":
[{Common AppData}]\Microsoft\OfficeSoftwareProtectionPlatform / Mapping Type = [VFS]
[{Common AppData}]\Microsoft\Windows / Mapping Type = [VFS]
(désolé, je sais pas l'automatiser... si vous avez une astuce, je suis preneur, j'aime bien TOUT automatiser)
8) On peut enfin lancer la création de la bulle:
A) Create New
B) "Standard Application (Default)"
C) "Select Installer"
D) "Select the installer for the application"
E) Faites un browse et allez chercher votre exe... blablabla...
Allez, on arrête de se prendre le choux...
------------------------------------------------------------------------------------------
voilà une solution, toute automatisée (mais créez votre (0) quand même !!) + 2 étapes manuelles:
0) Créez un MSP (avec C:\MSOFFICE2010 comme chemin d'installation) et config.xml (fr/en/sp...ce que vous voulez) pour office et un BATCH d'installation silencieuse.
Puis (avec vos sources à jour (cf au dessus) lancez les 3 BATCH suivants:
Le Premier: Préparer le systeme
|
|
Le Second: lance appv sequencer
REM SUPER COMPLIQUé!!:
|
|
| Global | C:\Users\Administrator\AppData\Roaming\Microsoft\MS Project\14\1033\Global.MPT |
| Microsoft Office 2010 component | C:\MSOFFICE2010\Office14\MSOHTMED.EXE |
| Microsoft Visual Studio Version Selector | C:\Program Files\Common Files\Microsoft Shared\MSEnv\VSLauncher.exe |
| Notepad | C:\Windows\System32\notepad.exe |
| Templates | C:\Users\Administrator\AppData\Roaming\Microsoft\Templates |
| VSContentInstaller.exe | C:\Program Files\Common Files\Microsoft Shared\MSEnv\VSContentInstaller.exe |
| Windows host process (Rundll32) | C:\Windows\System32\rundll32.exe |
| XML Editor | C:\Program Files\Common Files\Microsoft Shared\OFFICE14\MSOXMLED.EXE |
| Internet Explorer | C:\Program Files\Internet Explorer\iexplore.exe |
k.
/image%2F0881799%2F20140610%2Fob_a8c7fe_logo2.jpg)
Commenter cet article