Hi,

This company I work for has the policy that all installations need to be self-healing and therefore everything has to be an MSI..
Photoshop already is an MSI and therefore shouldn't have to be repackaged..

But.... there's no self-healing functionality in Photoshop..
I tried making the shortcuts advertised and the repair is started but gives an error (just 'error'. No number or message).

Now I think the only option left to get that self-healing to work is to repackage the thing..
I was seriously hoping there would be another way..

Can anybody here help me solve this issue? Because I'm running out of ideas... :(
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Hi Possamai,

You have to insert a custom action to add a registry key to launch the repair :

Set WshShell = CreateObject("WScript.Shell")
WshShell.RegWrite "HKLM\Software\Microsoft\Windows\CurrentVersion\Run\RepairAdobe", "msiexec /f {***ProductCode***} /qb-!"

Create a .vbs script with this code, add it to the mst as binary with Orca, add a custom action calling this script.
Sequence this CA after ScheduleReboot, before InstallFinalize.

That works for sure.

;)

KrisBcn
Answered 03/06/2007 by: KrisBcn
Purple Belt

Please log in to comment
0
that just tries to repair the install at reboot right?
I agree that that would work but shouldn't there be a normal way to only launch the repair when it is needed?
Answered 03/06/2007 by: possamai
Orange Senior Belt

Please log in to comment
0
This code sets the key that Photoshop uses when has to repair, it's not an Active Setup that runs at logon.

PD: Have you seen this? http://www.appdeploy.com/packages/detail.asp?id=511
Answered 03/06/2007 by: KrisBcn
Purple Belt

Please log in to comment
0
ORIGINAL: KrisBcn
This code sets the key that Photoshop uses when has to repair, it's not an Active Setup that runs at logon.
Well it's in the Run key... so it runs at startup time...
I tested it and it runs as I expected it to.. At login it just starts repairing Photoshop, if it's needed or not..
So long login times are to be expected..


ORIGINAL: KrisBcn
PD: Have you seen this? http://www.appdeploy.com/packages/detail.asp?id=511
I did.. but there's nothing about the repair functionality in there..
It is exactly how I install PS..
Answered 03/06/2007 by: possamai
Orange Senior Belt

Please log in to comment
0
Got it....

Apparently the Abcpy.ini isn't read when repairing and therefore a repair crashes on an invalid serial.
I added the info to the notes section of the PhotoshopCS2 package details so other people can easily find it..
Answered 03/06/2007 by: possamai
Orange Senior Belt

Please log in to comment
0
Ummmm
I did this package las september, and it worked fine, the CA I told you before wasn't the only one added in the mst...
I thought it would be ok for you to find your own solution

Then it seems I can't help you, maybe any ThisSite-Master can.. I hope so..

Good luck

KrisBcn

PD: I see... I've got a SetSerialTemp CA and a ResetSerialNumber CA for this too...
Answered 03/06/2007 by: KrisBcn
Purple Belt

Please log in to comment
0
And I did find my own solution :)
I still appreciate the help even though it wasn't extremely useful to me.
It might be very useful to someone else.
Answered 03/06/2007 by: possamai
Orange Senior Belt

Please log in to comment
0
I hope so :)
Answered 03/06/2007 by: KrisBcn
Purple Belt

Please log in to comment
0
Hi Michele,
have you logged the error, when you turn the main Photoshop Shortcut into an advertised Shortcut?
Regards, Nick
Answered 03/06/2007 by: nheim
Tenth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity