MSP to update in-use files
Hi All,
I've created a patch for an in-house developed Office integrated application. The MSP was created by the Patch Creation tool within Wise Package Studio 7.0.
The problem I am facing is that when I deploy the patch with SMS, it will fail to patch the files that are in-use and will roll back (generally when winword.exe is running).
How do I get around this without having to set up the patch to run in a logon script? I would still prefer the deployment to be managed by SMS.
Any suggestions welcome.
Thanks,
Jerry
I've created a patch for an in-house developed Office integrated application. The MSP was created by the Patch Creation tool within Wise Package Studio 7.0.
The problem I am facing is that when I deploy the patch with SMS, it will fail to patch the files that are in-use and will roll back (generally when winword.exe is running).
How do I get around this without having to set up the patch to run in a logon script? I would still prefer the deployment to be managed by SMS.
Any suggestions welcome.
Thanks,
Jerry
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
AngelD
16 years ago
Posted by:
anonymous_9363
16 years ago
A solution which has worked at other clients:
- Send out an enterprise-wide email saying that at 01:00am on Monday the blah of foo a global update of OurOfficeBasedApp will be deployed. Advise users that they *must* exit ALL Office apps (name them) on Friday before and that, if they don't, those apps will be forced closed, meaning that the content any open documents *may* be lost.
- Send out a reminder email a week before.
- Send out a reminder email the Friday before.
- In your package, add a script to detect the Office executables and kill them if found. There are a gazillion examples out there for process-detection and killing. Use WMI and you can do it all in script without resorting to PSKill and the like.
- If anyone complains about lost data, re-send all 3 emails.
Tough? Maybe but what choice do you have?
- Send out an enterprise-wide email saying that at 01:00am on Monday the blah of foo a global update of OurOfficeBasedApp will be deployed. Advise users that they *must* exit ALL Office apps (name them) on Friday before and that, if they don't, those apps will be forced closed, meaning that the content any open documents *may* be lost.
- Send out a reminder email a week before.
- Send out a reminder email the Friday before.
- In your package, add a script to detect the Office executables and kill them if found. There are a gazillion examples out there for process-detection and killing. Use WMI and you can do it all in script without resorting to PSKill and the like.
- If anyone complains about lost data, re-send all 3 emails.
Tough? Maybe but what choice do you have?
Posted by:
jlai
16 years ago
Thanks for the replies.
AngelD - I have tried setting the advertisement to run "at logon", but SMS's definition of "at logon" is more like "some time after logon" and as we have Word as our email editor, the 1st thing users do after logging on is to open Outlook.
VBScab - We've tried the "important" IS emails before and they are pretty much deleted straight away or ignored. My company is a law firm of about 2500 users and they heavily rely on Word, so killing the winword.exe is not an option.
I may have to look at the logon script option :(
AngelD - I have tried setting the advertisement to run "at logon", but SMS's definition of "at logon" is more like "some time after logon" and as we have Word as our email editor, the 1st thing users do after logging on is to open Outlook.
VBScab - We've tried the "important" IS emails before and they are pretty much deleted straight away or ignored. My company is a law firm of about 2500 users and they heavily rely on Word, so killing the winword.exe is not an option.
I may have to look at the logon script option :(
Posted by:
jlai
16 years ago
I've tried executing the patch from the logon script with the following command line:
C:\WINDOWS\system32\msiexec.exe /p "MyAppUpdate.msp" /passive /L*v "c:\windows\MyAppUpdate.log" REINSTALL=ALL REINSTALLMODE=amu
Yet, I have 2 files (with .manifest extensions) not being updated while all other versioned and non-versioned files are.
What am I doing wrong?
Edit: I'll start a new thread for this question.
Yet, I have 2 files (with .manifest extensions) not being updated while all other versioned and non-versioned files are.
What am I doing wrong?
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.