Location: List Archives

List Archives

This forum is an archive of all posts to our mailing list over the past few years.  The forum is set read only therefore to contribute you will need to join our list community.  See more info about this here.

 

When subscribed to the list you should use your standard email client to send your posts to ActiveDir@mail.activedir.org.

List Archives

Subject: [ActiveDir] How to change an MSI path in a GPO
Prev Next
You are not authorized to post a reply.

AuthorMessages
gabriel/tfiUser is Offline

Posts:367

06/08/2009 7:13 PM  
I would like to change the path to the MSI/MST file(s) inside an existing
GPO and avoid the package being reinstalled on the PCs (we have to change
the DFS where the MSI/MSTs are stored).



I've seen there are some references in the

a) msiFileList attribute of CN=MSI-GUID,CN=Packages,CN=Class
Store,CN=Machine,CN={GPOGUID},CN=Policies,CN=System,<DomainBaseDN> object

b)
\\domain.ext\SysVol\domain.ext\Policies\{GPO-GUID}\{SCRIPT-GUID}.a
as script



Any help would be much appreciated!



Thanks - Gabriele.


darrenUser is Offline

Posts:304

06/08/2009 7:28 PM  
Gabriele-

I'm sorry for you J. This is an age old problem with no good solution. Even
if you change the references in AD and in the AAS file, the workstation
still has metadata in the registry pointing to the old package path, which
is actually what causes the reinstall. The solution that I've seen used in
the past involves changing both the server side properties as well as the
client side entries to prevent a reinstall. If you only have one or two
packages to change and not a lot of clients, its not that bad. If you do,
then I'm sorry for you, again.



Also note that MSTs, once deployed, are forever cached by the client and
therefore a new path to one won't be picked up on system's where the package
has already been deployed.



The AD attribute is easy enough to change but the .AAS file is generated at
package deployment time via the Windows Installer. I do have a command-line
utility I wrote a while ago to re-gen a .AAS file with a different path. If
you want it, ping me off-list. Its very rough but does the job.



Darren



****

Darren Mar-Elia

CTO & Founder

SDM Software, Inc.

"The Group Policy Experts"

www.sdmsoftware.com <http://www.sdmsoftware.com/>

Spot and report on GPO inconsistencies quickly with GPO Compare
http://www.sdmsoftware.com/group_policy_compare









From: activedir-owner@mail.activedir.org
[mailto:activedir-owner@mail.activedir.org] On Behalf Of Gabriele Scolaro
Sent: Monday, June 08, 2009 11:12 AM
To: activedir@mail.activedir.org
Subject: [ActiveDir] How to change an MSI path in a GPO



I would like to change the path to the MSI/MST file(s) inside an existing
GPO and avoid the package being reinstalled on the PCs (we have to change
the DFS where the MSI/MSTs are stored).



I've seen there are some references in the

a) msiFileList attribute of CN=MSI-GUID,CN=Packages,CN=Class
Store,CN=Machine,CN={GPOGUID},CN=Policies,CN=System,<DomainBaseDN> object

b)
\\domain.ext\SysVol\domain.ext\Policies\{GPO-GUID}\{SCRIPT-GUID}.aas
as script



Any help would be much appreciated!



Thanks - Gabriele.


gabriel/tfiUser is Offline

Posts:367

06/08/2009 11:57 PM  
If you say: “No good solution”… I just believe there’s no good solution! :-)
Thanks – Gabriele (sob)



From: activedir-owner@mail.activedir.org
[mailto:activedir-owner@mail.activedir.org] On Behalf Of Darren Mar-Elia
Sent: lunedì 8 giugno 2009 20.27
To: activedir@mail.activedir.org
Subject: RE: [ActiveDir] How to change an MSI path in a GPO



Gabriele-

I’m sorry for you J. This is an age old problem with no good solution. Even
if you change the references in AD and in the AAS file, the workstation
still has metadata in the registry pointing to the old package path, which
is actually what causes the reinstall. The solution that I’ve seen used in
the past involves changing both the server side properties as well as the
client side entries to prevent a reinstall. If you only have one or two
packages to change and not a lot of clients, its not that bad. If you do,
then I’m sorry for you, again…



Also note that MSTs, once deployed, are forever cached by the client and
therefore a new path to one won’t be picked up on system’s where the package
has already been deployed.



The AD attribute is easy enough to change but the .AAS file is generated at
package deployment time via the Windows Installer. I do have a command-line
utility I wrote a while ago to re-gen a .AAS file with a different path. If
you want it, ping me off-list. Its very rough but does the job.



Darren



****

Darren Mar-Elia

CTO & Founder

SDM Software, Inc.

"The Group Policy Experts"

www.sdmsoftware.com <http://www.sdmsoftware.com/>

Spot and report on GPO inconsistencies quickly with GPO Compare
http://www.sdmsoftware.com/group_policy_compare




You are not authorized to post a reply.
Forums >ActiveDir Mail List Archive >List Archives > [ActiveDir] How to change an MSI path in a GPO



ActiveForums 3.7
Friends

Friends

Button
Members

Members

MembershipMembership:
Latest New UserLatest:kieran
New TodayNew Today:3
New YesterdayNew Yesterday:2
User CountOverall:4668

People OnlinePeople Online:
VisitorsVisitors:105
MembersMembers:1
TotalTotal:106

Online NowOnline Now:
01: cormachogan

Ads

Copyright 2009 ActiveDir.org
Terms Of Use