RichieOLSJ
Posts: 4
Joined: Tue Aug 21, 2007 11:19 am

MSI Not Installing Properly During GPO

I'm using version 5.0 and getting this problem:
I build a project, add files and folders, then compile it
When I run it logged on, it installs the files and folder fine, however when I deploy it via GPO, the creation of files and folders doesn't work.
The weird thing is that another project I built earlier on (in exactly the same way) seems to work fine.
Has anyone come across this before?

Richie
Fnurgg
Posts: 4
Joined: Wed Jun 06, 2007 9:45 am

Re: MSI Not Installing Properly During GPO

Try and check the local event viewer for errors.

Most likely security on your network share is too tight.
(happened to me several times)
RichieOLSJ
Posts: 4
Joined: Tue Aug 21, 2007 11:19 am

Security is fine - part of the MSI actually runs (a custom action) - just not the bit that creates files and folders.
Fnurgg
Posts: 4
Joined: Wed Jun 06, 2007 9:45 am

RichieOLSJ wrote:Security is fine - part of the MSI actually runs (a custom action) - just not the bit that creates files and folders.
and nothing in the event viewer?
then i'm gonna have to pass, sorry :?
RichieOLSJ
Posts: 4
Joined: Tue Aug 21, 2007 11:19 am

The only error relates to the files that the custom action can't find.
I've repeatedly tried rebuilding the MSI with no luck.
I've got another MSI that writes files to the same area and that one works fine - just none of the others since then work (I've uninstalled and retried the one that works and it does still work)
RichieOLSJ
Posts: 4
Joined: Tue Aug 21, 2007 11:19 am

Right, I've found out where the problem was...
I had a custom action that was called in the InstallExecuteSequence table.
According to some info I'd found via google I had the custom action running just before InstallFinalize, which works fine when running via command line. However, for it to run via GPO it needs to be called AFTER InstallFinalize, which now works as intended

Return to “Common Problems”