Solved

MSI install fails in GP, works as standaoine

Posted on 2011-03-09
21
1,591 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
  • 11
  • 10
21 Comments
 
LVL 8

Expert Comment

by:MarkieS
Comment Utility
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
Comment Utility
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
Comment Utility
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
 

Author Comment

by:Majicthise
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
First sentence didn't comeout how I wanted.
I wasn;t trying to be smart.
0
 
LVL 8

Expert Comment

by:MarkieS
Comment Utility
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
Comment Utility
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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

Author Comment

by:Majicthise
Comment Utility
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
Comment Utility
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
Comment Utility
Splendid.
If you run the MSI as is, it works fine.
No user intervention required at all.
0
 
LVL 8

Expert Comment

by:MarkieS
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks any way
Whats the MSI group called would you say?
0
 
LVL 8

Expert Comment

by:MarkieS
Comment Utility
Experts Exchange Programming Misc Installation Windows Installer

Looks like the right kinda place -

Good luck

Markie S
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

728 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now