/build/static/layout/Breadcrumb_cap_w.png

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)

Posted by: AngelD 15 years ago
Red Belt
0
Have a look at the MoveFile table
http://msdn.microsoft.com/en-us/library/aa370055.aspx
Posted by: jmcfadyen 15 years ago
5th Degree Black Belt
0
if your using Wise select the operation button from the file view.
Posted by: joedown 15 years ago
Third Degree Brown Belt
0
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
Red Belt
0
Anything you can do in Orca can be done in AS, just in a different way. IIRC, AS has 'Direct Editor' which gives you access to all the tables.
Posted by: joedown 15 years ago
Third Degree Brown Belt
0
I was thinking more of a automated way of doing this so I can see how this is done. I tried doing a capture of the file move in AdminStudio but it just creates a package that adds the files and the MoveFiles table does not get populated. What tables will I need to make entries in to do a file move?
Posted by: AngelD 15 years ago
Red Belt
0
Try re-reading my first post as it reveales the table name and info needed to populate any entry for that table.
Posted by: joedown 15 years ago
Third Degree Brown Belt
0
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?
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