Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Pushing an installation


1 reply to this topic

PeterBoucher

PeterBoucher
  • Members
  • 17 posts

Posted 23 July 2003 - 17:11

I wrote a basic MSI installer for an application that installs (among other things) SOAP and an NDIS intermediate driver. It needs to ask the user for some site-specific server addresses.

I set it up so you can run setup /a and create an MSI network image with the site-specific stuff already filled in.

My installer works fine when an individual runs setup.exe, or when an individual who is a local administrator runs the MSI network image created by setup /a.

When our network administrator tries to push the app out to the users of a domain by group policy, this is what happens:

1) I get three events in the application log: a) a WARNING that says "The group policy framework should call the extension in a synchronous foreground policy refresh", cool.gif an INFORMATION that says "The assignment of application Senforce Mobile Security Client from policy Default Domain Policy succeeded", and c) an INFORMATION that says "Changes to software installation settings were applied successfully."

2) My app is added to the add/remove programs list, but only partially (there's no version info in the support link, and it won't unistall).

3) None of my files or registry settings or SOAP or the NDIS drivers are anywhere to be found.

Any help on figuring out how to fix this?

Zweitze

Zweitze
  • Full Members
  • 522 posts

Posted 24 July 2003 - 09:17

I don't know about your specific components, but here's what I found out:

Two different kinds of Software Installation GPOs exist: Assign and Publish.

Publish is the easy one, the package is added to ARP, network installs. The package is a "managed installation", meaning that any user can install it - the InstallExecute sequence is run under the account set for the Installer service (usually LocalSystem).

Assign is the tricky one. During the GPO execution the package is Advertized. When the software is activated, the actual installation of the necessary feature(s) takes place. Advertizing is a bit tricky here: Rumor goes this installation is performed by the DC, not the target system. Look in the AdvtExecuteSequence in the final MSI, make sure it reads exactly like prescribed in the SDK. I've seen some MSMs that modify this table - eg. InstallShield MSM for MDAC 2.6sp2 tries to install MDAC on the DC.


How to go ahead:
I don't think that your install problem is related to the warning in the event log. Look on http://www.eventid.net

If your package is published (not assigned), you may find missing HKCU entries, since the package was installed with another account.

If your package is assigned, better look into Advertizing first.
You can perform Advertizing as follows:
MsiExec /ju <NetworkImage>

If that results in the same problem, you may want to review your feature tree. When a program is started, it only installs a minimal set of features: just the feature itself, and parent feature, it's parent feature, etc.

Finally, a policy exists that creates a log for every install action available - including the activity when a program is started, but needs to install the advertized feature first.

Hope this gets you started.