?
Solved

MSI install fails in GP, works as standaoine

Posted on 2011-03-09
21
Medium Priority
?
1,673 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
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 

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 2000 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Microsoft Office 365 is a subscriptions based service which includes services like Exchange Online and Skype for business Online. These services integrate with Microsoft's online version of Active Directory called Azure Active Directory.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses
Course of the Month12 days, 19 hours left to enroll

777 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