• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1702
  • Last Modified:

MSI install fails in GP, works as standaoine

I deploy and update numerous apps via Group Policy from a 2008 DC
They all work fine except one.
However when I run the MSI it installs fine.
No interraction with end user is required

Any ideas how this can be and how to troubleshoot?

Affects XP & Windows 7 machines.

Thanks
0
Majicthise
Asked:
Majicthise
  • 11
  • 10
1 Solution
 
MarkieSCommented:
Possible causes..

1.  Can you add a /L to create a log file for the MSI
2.  Has it actually run and failed or not run at all.  
3.  Is it targeted at "Users" OU and the "USER Software" policy is populated in the Group Policy / targeted at "Computers" and the "Computer, Software" is populated in the Group Policy

cheers
0
 
MajicthiseAuthor Commented:
It appears to have not run at all.
I've had a look a the MSIlogs but cant see anything for it.
It is a per machine based install based on a machine OU and is correctly configured.



0
 
MarkieSCommented:
If it doesnt look as though it has run, has the GPO been applied to the machine yet.

Can you run a "Resultant Set of Policy" to check if it has been applied to the test machine.

0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
MajicthiseAuthor Commented:
Yep the policy has been applied.
The policy installed about 10 bits of software
9 of them have been done.

Can an msi be built so as to not run via Software Installation?

I will delete all the MSI logs redeploy the app and have allok at the log to see what I can see.
Why doesnt windows call the msilogs something recognizable!?!
0
 
MajicthiseAuthor Commented:
Hmm
When I right click the package and redeploy it says
Active Directory operation Failed
Package cannot be marked for reploy.
0
 
MarkieSCommented:
You can manually run an MSI and specify switches

ie  msiexec.exe "\\<path>\packagename.msi" /L "%WINDIR%\packagename.log"

Start Run - "msiexec /?" to see a fuller list of MSIexec commands
0
 
MajicthiseAuthor Commented:
Yes, but that can't be done from Group Policy can it?
Anyway. I've wiped the MSI logs.
Restarted and it says applying Software Instaalation Policy but never lists the app I want to install.
If I right click the app  in Group policy it brings up zero installation so far.

If I manually run the MSI it works fine.
Log shows application installed.
0
 
MajicthiseAuthor Commented:
First sentence didn't comeout how I wanted.
I wasn;t trying to be smart.
0
 
MarkieSCommented:
No you're right it can run like that in GP.  I was just answering your question "Can an msi be built so as to not run via Software Installation?"

Was it Assigned in GP or do you have advanced options set?  Transforms etc
0
 
MarkieSCommented:
No problem - I just re-read mine!!

No you're right it cant run like that in GP.  I was just answering your question "Can an msi be built so as to not run via Software Installation?"

Was it Assigned in GP or do you have advanced options set?  Transforms etc
0
 
MajicthiseAuthor Commented:
No advanced options - other than ignore language
It's an assigned no transforms MSI.
When run from edsktop with /L the logfile is pretty dull.
No warnings no failures, nothing.

Not a lot of help that is it.

If you want the MSI it's here.

0
 
MarkieSCommented:
I tried it and got the same result as you.  GP

Event Viewer shows the error:
The assignment of application PDF Creator from policy Group Policy Exploration - do not apply failed.  The error was : Fatal error during installation.

I guess this MSI needs some switches or user intevention to complete - Maybe a silent install isnt available..  

I have to head off for the day but will pick up again tomorrow -
0
 
MajicthiseAuthor Commented:
Splendid.
If you run the MSI as is, it works fine.
No user intervention required at all.
0
 
MarkieSCommented:
Taking a look at the APP Deploy site - contains alot of hints/tips and discussion threads on Applications - there doesnt appear to be alot of info on this Application.  

http://www.appdeploy.com/packages/detail.asp?id=362 - this link for "PDF Creator"

Looks to me like the MSI requires some work on to deploy via Group Policy.  

Looking at the Sourceforge site there is version 1.2 available but this downloads as an EXE

I suggest returning to the developers for assistance on this.
0
 
MarkieSCommented:
http://www.pdfforge.org/forum/open-discussion/6172-problems-setup-pdfcreator-110

Is the developers site giving links to deployment/install problems but there's no mention of Group Policy deployment...


http://www.pdfforge.org/forum/open-discussion/4333-will-there-be-msi-package-pdfcreator-soon

This one shows MSI is not high on thier list of priorities...

I feel a dead-end approaching!
0
 
MajicthiseAuthor Commented:
I know they're not bothered on making an MSI, thats why I made it.
The MSI works fine when ran rfom the machine.
No user intervention required at all.
It just dowesn't deploy via GP.

How can that possibly be?
0
 
MarkieSCommented:
It's likely the account it's running under.

When run as a user it's running with user rights to the machine.  All references to the user and user profile are in place.

When installed via Group Policy it will be running with the SYSTEM service account.  I'm unsure how this would treat Current User Variables and profile.

What did you create the MSI with?
0
 
MajicthiseAuthor Commented:
This one
http://www.witemsoft.com/
Perhaps your are right on the profile issue.
Not sure how I can sort that though.
I had assumed that if it works as a user it would work
It's stood me ing ood stead for the last few installs but then again maybe I just go tlucky.

What does one do now?
Give up?
0
 
MarkieSCommented:
ORCA is another MSI development tool.

I'm more of a Group policy kinda guy!  The majority of our applications I role out with SCCM using thier native install routines.

I suggest you repost this question but angle it to the MSI community...

Sorry I couldnt nail it for you...

0
 
MajicthiseAuthor Commented:
Thanks any way
Whats the MSI group called would you say?
0
 
MarkieSCommented:
Experts Exchange Programming Misc Installation Windows Installer

Looks like the right kinda place -

Good luck

Markie S
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

  • 11
  • 10
Tackle projects and never again get stuck behind a technical roadblock.
Join Now