Link to home
Start Free TrialLog in
Avatar of Majicthise
Majicthise

asked on

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
Avatar of MarkieS
MarkieS
Flag of United Kingdom of Great Britain and Northern Ireland image

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
Avatar of Majicthise
Majicthise

ASKER

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.



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.

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!?!
Hmm
When I right click the package and redeploy it says
Active Directory operation Failed
Package cannot be marked for reploy.
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
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.
First sentence didn't comeout how I wanted.
I wasn;t trying to be smart.
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
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
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.

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 -
Splendid.
If you run the MSI as is, it works fine.
No user intervention required at all.
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.
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!
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?
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?
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?
ASKER CERTIFIED SOLUTION
Avatar of MarkieS
MarkieS
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks any way
Whats the MSI group called would you say?
Experts Exchange Programming Misc Installation Windows Installer

Looks like the right kinda place -

Good luck

Markie S