Photoshop CS2 needs to be self-healing
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... :(
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
Answers (9)
Please log in to answer
Posted by:
KrisBcn
17 years ago
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
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
Posted by:
possamai
17 years ago
Posted by:
KrisBcn
17 years ago
Posted by:
possamai
17 years ago
ORIGINAL: KrisBcnWell it's in the Run key... so it runs at startup time...
This code sets the key that Photoshop uses when has to repair, it's not an Active Setup that runs at logon.
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: KrisBcnI did.. but there's nothing about the repair functionality in there..
PD: Have you seen this? http://www.appdeploy.com/packages/detail.asp?id=511
It is exactly how I install PS..
Posted by:
possamai
17 years ago
Posted by:
KrisBcn
17 years ago
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...
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...
Posted by:
possamai
17 years ago
Posted by:
nheim
17 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.