Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2326 connectés 

 


Dernière réponse
Sujet : Déploiement d'Office 2003 sur plusieurs sites
mnpg tu as la possibilite de definir, lors de la mise en place de l'installation administrative d'office, plusieurs points sources de distribution du package msi :
 
pour cela, il te suffit d'executer l'installation avec la variable publique SOURCELIST (exemple: msiexec /a ****.msi SOURCELIST="\\server\dossier\msi\office;\\server2\dossier2\msi\office" ).
 
Plus de details sur la variable sourcelist.
http://windowssdk.msdn.microsoft.c [...] 71858.aspx
 
sinon, si tu ne veux pas reinstaller le package, tu peux le faire via un vbs (-mon article posté sur gpanswers.com-).  
NB: il faut que tu recupere le productCode d'office pour cela
 

Citation :

I find another way to update the SourceList of pre-deployed packages. I create a VBS launched at startup that update the SourceList with adding the new UNC path
 
Here an exemple of script (for adding an UNC path)
 

Code :
  1. Const ProductCode= "{31CB5031-C850-416C-B7B2-EEC53356118B}" : 'an exemple of ProductCode
  2. Const SID = "" : 'UserSid must be NULL for per-machine context. UserSid can be null to specified current user, when context is not per-machine.
  3. Const SourcePath="\\xxx\yyy\zzz\"
  4. 'Const SourcePath = "http://www/yyy/zzz/"
  5. Const msiInstallSourceType = 1 : 'MSISOURCETYPE_NETWORK
  6. 'Const msiInstallSourceType = 2 : 'MSISOURCETYPE_URL
  7. 'Const msiInstallContext = 1 : 'Products under managed context.
  8. 'Const msiInstallContext = 2 : 'Products under unmanaged context.
  9. Const msiInstallContext = 4 : 'Products under machine context.
  10. Const Index = 0
  11. Dim Installer, Product
  12. Set Installer = CreateObject("WindowsInstaller.Installer" )
  13. Set Product = Installer.Product(ProductCode,SID,msiInstallContext)
  14. Product.SourceListAddSource msiInstallSourceType,SourcePath,Index


 
If you prefer URL path for the same product, switch in this script the settings SourcePath and msiInstallSourceType to the others values
 
NB : in my case, i choose msiInstallContext = 4 (Products under machine context). You'll have to define yours
 
 
More info about product object :
http://msdn.microsoft.com/library/ [...] object.asp


Votre réponse
Nom d'utilisateur    Pour poster, vous devez être inscrit sur ce forum .... si ce n'est pas le cas, cliquez ici !
Le ton de votre message                        
                       
Votre réponse


[b][i][u][strike][spoiler][fixed][cpp][url][email][img][*]   
 
   [quote]
 

Options

 
Vous avez perdu votre mot de passe ?


Vue Rapide de la discussion
mnpg tu as la possibilite de definir, lors de la mise en place de l'installation administrative d'office, plusieurs points sources de distribution du package msi :
 
pour cela, il te suffit d'executer l'installation avec la variable publique SOURCELIST (exemple: msiexec /a ****.msi SOURCELIST="\\server\dossier\msi\office;\\server2\dossier2\msi\office" ).
 
Plus de details sur la variable sourcelist.
http://windowssdk.msdn.microsoft.c [...] 71858.aspx
 
sinon, si tu ne veux pas reinstaller le package, tu peux le faire via un vbs (-mon article posté sur gpanswers.com-).  
NB: il faut que tu recupere le productCode d'office pour cela
 

Citation :

I find another way to update the SourceList of pre-deployed packages. I create a VBS launched at startup that update the SourceList with adding the new UNC path
 
Here an exemple of script (for adding an UNC path)
 

Code :
  1. Const ProductCode= "{31CB5031-C850-416C-B7B2-EEC53356118B}" : 'an exemple of ProductCode
  2. Const SID = "" : 'UserSid must be NULL for per-machine context. UserSid can be null to specified current user, when context is not per-machine.
  3. Const SourcePath="\\xxx\yyy\zzz\"
  4. 'Const SourcePath = "http://www/yyy/zzz/"
  5. Const msiInstallSourceType = 1 : 'MSISOURCETYPE_NETWORK
  6. 'Const msiInstallSourceType = 2 : 'MSISOURCETYPE_URL
  7. 'Const msiInstallContext = 1 : 'Products under managed context.
  8. 'Const msiInstallContext = 2 : 'Products under unmanaged context.
  9. Const msiInstallContext = 4 : 'Products under machine context.
  10. Const Index = 0
  11. Dim Installer, Product
  12. Set Installer = CreateObject("WindowsInstaller.Installer" )
  13. Set Product = Installer.Product(ProductCode,SID,msiInstallContext)
  14. Product.SourceListAddSource msiInstallSourceType,SourcePath,Index


 
If you prefer URL path for the same product, switch in this script the settings SourcePath and msiInstallSourceType to the others values
 
NB : in my case, i choose msiInstallContext = 4 (Products under machine context). You'll have to define yours
 
 
More info about product object :
http://msdn.microsoft.com/library/ [...] object.asp

FlyZu Bonjour à tous,
 
J'ai un petit souci et je sollicite votre aide.
J'ai deux sites à gérer. Jusqu'à présent, j'utilisais une GPO afin de déploiement des applications. Puisque nous n'avions que des ordinateurs fixes ce n'était pas un problème, je créais une GPO par site, mais depuis nous avons remplacé les ordinateurs fixes par des ordinateurs portables et donc les ordinateurs font que de se balader d'un site à l'autre. Il n'est donc plus possible d'utiliser un GPO par site, car si l'ordinateur ne se trouve pas sur le bon site, le déploiement d'Office 2003 va prendre une éternité. Existe-t-il une solution pour utiliser deux points d'installation et que le GPO choissise le plus rapide ? Tester si l'ordinateur est sur le bon site et lancer la GPO ou non ?
 
Merci d'avance à tous  :hello:

Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)