[Solved] Issue with Custom Update

Topics: Publishing Issue
Jul 15, 2014 at 3:24 PM
I've made a custom update to install FreePDF, and mod the reg key for the ghostscript version, but it gives me the FFFC error when installing on the client.

A regular update built the same way, minus the reg mod, works.

Here is the .xml from the custom update, could anyone spot what I'm doing wrong?

<CustomUpdate>
<Action>
<ElementType>CustomUpdateElements.ExecutableElement</ElementType>
<PathToExecutable>C:\trans\FreePDF4.14\fpsetup.exe</PathToExecutable>
<Parameters>/q</Parameters>
<KillProcess>True</KillProcess>
<TimeBeforeKilling>10</TimeBeforeKilling>
<Variable/>
</Action>
<Action>
<ElementType>CustomUpdateElements.RegistryElement</ElementType>
<RegAction>Modify</RegAction>
<RegHive>HKEY_LOCAL_MACHINE</RegHive>
<RegKey>SOFTWARE\Wow6432Node\shbox\FreePdfXP</RegKey>
<RegValue>gswin32c</RegValue>
<RegType>REG_SZ</RegType>
<RegData>C:\Program Files\gs\gs9.07\bin\gswin64c.exe</RegData>
<RegVariable/>
</Action>
</CustomUpdate>
Jul 17, 2014 at 2:19 PM
Edited Jul 17, 2014 at 2:24 PM
Well, after a bit more RTFM,D I was making an error. :)

Everything is working properly now.

Also, in case anyone is interested I added a step to kill the fpassist.exe process prior to the install, and then triggered a reboot at the end so that fpassist.exe is running.

XML
<CustomUpdate>
<Action>
<ElementType>CustomUpdateElements.KillProcessElement</ElementType>
<ProcessName>fpassist.exe</ProcessName>
</Action>
<Action>
<ElementType>CustomUpdateElements.ExecutableElement</ElementType>
<PathToExecutable>fpsetup.exe</PathToExecutable>
<Parameters>/q</Parameters>
<KillProcess>True</KillProcess>
<TimeBeforeKilling>10</TimeBeforeKilling>
<Variable/>
</Action>
<Action>
<ElementType>CustomUpdateElements.RegistryElement</ElementType>
<RegAction>Modify</RegAction>
<RegHive>HKEY_LOCAL_MACHINE</RegHive>
<RegKey>SOFTWARE\Wow6432Node\shbox\FreePdfXP</RegKey>
<RegValue>gswin32c</RegValue>
<RegType>REG_SZ</RegType>
<RegData>C:\Program Files\gs\gs9.07\bin\gswin64c.exe</RegData>
<RegVariable/>
</Action>
<Action>
<ElementType>CustomUpdateElements.PowerManagementElement</ElementType>
<PowerAction>Reboot</PowerAction>
</Action>
</CustomUpdate>
Marked as answer by Bill_T on 7/17/2014 at 7:19 AM