I want to script a pending file rename operation instead of using MSI because I'm only deploying one file that will be in use.
Has anyone tried doing this?

I've found this page.. not much else so far.
http://support.microsoft.com/kb/202071
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
Would this be any help:

http://support.microsoft.com/kb/181345

The mv.exe method mentioned in the above looks promising:

http://support.microsoft.com/kb/184408/

Kevin
Answered 01/30/2009 by: kevind
Yellow Belt

Please log in to comment
0
Answered 01/30/2009 by: AngelD
Red Belt

Please log in to comment
0
What about first stopping/killing the process which has the file open? Then there's no open file handle and you can copy it.

My $0.02...
Answered 01/30/2009 by: VBScab
Red Belt

Please log in to comment
0
Interesting ideas, thanks guys. Let me work with these and report back.

VBScab: the app that might be running can't be shut down. Thought of that! [;)]
Answered 01/30/2009 by: turbokitty
Sixth Degree Black Belt

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