/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (4)

Posted by: AngelD 15 years ago
Red Belt
0
Set the package to install before login?
Or do you have any user-related files to be updated?

You could also have a custom action checking for running processes and prompt the user to close them before continue.
Posted by: anonymous_9363 15 years ago
Red Belt
0
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?
Posted by: jlai 15 years ago
Orange Senior Belt
0
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 :(
Posted by: jlai 15 years ago
Orange Senior Belt
0
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ