Movefile
Hi all,
I’m new to what I see as more advanced msi/mst options and hoping for some help regarding movefile in msi tables. I’m trying to make a silent install/upgrade of Lotus Notes from 6.0.2 to 6.5.3 and then I noticed the Movefile table and thought I could use this to move useful files like bookmarks.nsf and so forth. I’m using Installsheild tuner to do the install files, my questions is
How does movefile work?
What are the components -s72 field used for, what option should I pick there?
Can I use wildcards to pick files?
I there a better way to do this (except bat files)?
I have checked the helpfile MSsdk help but didn’t understand much about the components part, maybe it’s because of my poor English or I’m might be just plain stupid.
Best regards and thanks in advanced
Lennart Johansson
I’m new to what I see as more advanced msi/mst options and hoping for some help regarding movefile in msi tables. I’m trying to make a silent install/upgrade of Lotus Notes from 6.0.2 to 6.5.3 and then I noticed the Movefile table and thought I could use this to move useful files like bookmarks.nsf and so forth. I’m using Installsheild tuner to do the install files, my questions is
How does movefile work?
What are the components -s72 field used for, what option should I pick there?
Can I use wildcards to pick files?
I there a better way to do this (except bat files)?
I have checked the helpfile MSsdk help but didn’t understand much about the components part, maybe it’s because of my poor English or I’m might be just plain stupid.
Best regards and thanks in advanced
Lennart Johansson
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
aogilmor
18 years ago
Lennart, you ain't stupid, this can be pretty hard to understand if you're new to it.
Basically it doesn't matter what component you use, as long as you're sure it'll be installed with your app (if it is not, then the movefile won't work)
SourceName
This column contains the localizable name of the source files to be moved or copied. This column may be left blank. See the description of the SourceFolder column. This field must contain a long file name and may contain wildcard characters (* and ?).
SourceFolder
This column contains the name of a property having a value that resolves to the full path to the source directory. If the SourceName column is left blank, then the property named in the SourceFolder column is assumed to contain the full path to the source file itself (including the file name).
So SourceFolder would be something like this, [ProgramFilesFolder]notes\
and SourceName would be * if you wanted to move all the files. You could also use *.nsf or list different types or files in separate rows.
Tools like Wise can come in handy with things like this.
Basically it doesn't matter what component you use, as long as you're sure it'll be installed with your app (if it is not, then the movefile won't work)
SourceName
This column contains the localizable name of the source files to be moved or copied. This column may be left blank. See the description of the SourceFolder column. This field must contain a long file name and may contain wildcard characters (* and ?).
SourceFolder
This column contains the name of a property having a value that resolves to the full path to the source directory. If the SourceName column is left blank, then the property named in the SourceFolder column is assumed to contain the full path to the source file itself (including the file name).
So SourceFolder would be something like this, [ProgramFilesFolder]notes\
and SourceName would be * if you wanted to move all the files. You could also use *.nsf or list different types or files in separate rows.
Tools like Wise can come in handy with things like this.
Posted by:
AngelD
18 years ago
Posted by:
nheim
18 years ago
Posted by:
lelle68
18 years ago
Hi all,
Thanks a lot for all your replies, haven´t been able to try them yet, when it comes to duplictefiles, is that only duplicate of the install files? In this case I want to move old files from one location to another.
But all tips are very welcome, im learning alot of new things
Cheers
Lennart
Thanks a lot for all your replies, haven´t been able to try them yet, when it comes to duplictefiles, is that only duplicate of the install files? In this case I want to move old files from one location to another.
But all tips are very welcome, im learning alot of new things
Cheers
Lennart
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.