Solved

MSI install fails in GP, works as standaoine

Posted on 2011-03-09
21
1,630 Views
Last Modified: 2012-05-11
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
Comment
Question by:Majicthise
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 11
  • 10
21 Comments
 
LVL 8

Expert Comment

by:MarkieS
ID: 35082422
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
 

Author Comment

by:Majicthise
ID: 35082672
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
 
LVL 8

Expert Comment

by:MarkieS
ID: 35082769
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
Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

 

Author Comment

by:Majicthise
ID: 35082814
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
 

Author Comment

by:Majicthise
ID: 35082837
Hmm
When I right click the package and redeploy it says
Active Directory operation Failed
Package cannot be marked for reploy.
0
 
LVL 8

Expert Comment

by:MarkieS
ID: 35082886
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
 

Author Comment

by:Majicthise
ID: 35083031
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
 

Author Comment

by:Majicthise
ID: 35083058
First sentence didn't comeout how I wanted.
I wasn;t trying to be smart.
0
 
LVL 8

Expert Comment

by:MarkieS
ID: 35083172
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
 
LVL 8

Expert Comment

by:MarkieS
ID: 35083183
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
 

Author Comment

by:Majicthise
ID: 35083508
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
 
LVL 8

Expert Comment

by:MarkieS
ID: 35084393
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
 

Author Comment

by:Majicthise
ID: 35084617
Splendid.
If you run the MSI as is, it works fine.
No user intervention required at all.
0
 
LVL 8

Expert Comment

by:MarkieS
ID: 35093425
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
 
LVL 8

Expert Comment

by:MarkieS
ID: 35093487
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
 

Author Comment

by:Majicthise
ID: 35093864
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
 
LVL 8

Expert Comment

by:MarkieS
ID: 35094037
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
 

Author Comment

by:Majicthise
ID: 35094884
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
 
LVL 8

Accepted Solution

by:
MarkieS earned 500 total points
ID: 35094998
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
 

Author Comment

by:Majicthise
ID: 35095117
Thanks any way
Whats the MSI group called would you say?
0
 
LVL 8

Expert Comment

by:MarkieS
ID: 35095547
Experts Exchange Programming Misc Installation Windows Installer

Looks like the right kinda place -

Good luck

Markie S
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Last week, our Skyport webinar on “How to secure your Active Directory” (https://www.experts-exchange.com/videos/5810/Webinar-Is-Your-Active-Directory-as-Secure-as-You-Think.html?cid=Gene_Skyport) provided 218 attendees with a step-by-step guide for…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question