Move files during install?
Is it possible to move some existing files during install? I'm going to apply an update to one of our programs and I want to move about four files. It doesn't matter when the move is done. Does a simple file move like this require a custom action and vb script?
0 Comments
[ + ] Show comments
Answers (7)
Please log in to answer
Posted by:
AngelD
15 years ago
Have a look at the MoveFile table
http://msdn.microsoft.com/en-us/library/aa370055.aspx
http://msdn.microsoft.com/en-us/library/aa370055.aspx
Posted by:
jmcfadyen
15 years ago
Posted by:
joedown
15 years ago
I had never noticed the MoveFile table before. I think that will do what I want as soon as I figure out how it works. What I want to do is create a transform for the last Adobe patch to move 5 of the plugin files from the plug_ins directory to a new folder in the plug_ins directory called Optional. My tools are Orca and Macrovision AdminStudio 8.0. I would prefer to do this in Orca but I would need an example or guidance. Can this be done in AdminStudio?
Posted by:
anonymous_9363
15 years ago
Posted by:
joedown
15 years ago
Posted by:
AngelD
15 years ago
Posted by:
joedown
15 years ago
I finally got this working after I discovered that Adobe had set the condition for the MoveFiles action to never. Now this has created another issue. Even though the files have been moved they still appear to be connected or referenced in some way by the program. What do I need to do to make the patched program unaware? If I just move the files manually myself as described above in my previous post the program doesn't know about them which is what I want. When the patch moves the files the program seems to be aware of the new location.
Just to be clear on what I'm trying to do is move some of Adobe Acrobat's plugins to a folder called optional so that they no longer get loaded. I don't want to just delete them since it's possible they made need to be moved back at some point. Since I need to apply the latest patch that adobe has made available to Acrobat I want to transform the patch to do this work. Am I doing this the wrong way or is there a better method?
Just to be clear on what I'm trying to do is move some of Adobe Acrobat's plugins to a folder called optional so that they no longer get loaded. I don't want to just delete them since it's possible they made need to be moved back at some point. Since I need to apply the latest patch that adobe has made available to Acrobat I want to transform the patch to do this work. Am I doing this the wrong way or is there a better method?
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.