How to always copy a file (MSI)
I've got an installation which copies files to the target system.
But if the files on the target system are newer, the files will not be copied.
I need to always copy the files.
I use Wise Package Studio 7.0 SP1 to develop MSI's for Windows XP SP3.
I can solve this by first set the action on "Remove file" and later copy the file.
But there must be a better method to do this.
But if the files on the target system are newer, the files will not be copied.
I need to always copy the files.
I use Wise Package Studio 7.0 SP1 to develop MSI's for Windows XP SP3.
I can solve this by first set the action on "Remove file" and later copy the file.
But there must be a better method to do this.
0 Comments
[ + ] Show comments
Answers (8)
Please log in to answer
Posted by:
jmcfadyen
13 years ago
companion files can be used to deploy non versioned files based on a known files version.
http://blogs.msdn.com/b/astebner/archive/2005/08/30/458295.aspx
http://blogs.msdn.com/b/astebner/archive/2005/08/30/458295.aspx
Posted by:
anonymous_9363
13 years ago
Posted by:
SandeepPanat
13 years ago
ORIGINAL: VBScab
If the files do not contain file version information in their header, then no, there's no better way.
Yes, 100 % true.
But, I got confused now. What if we use the 'Copy Files' function in WiseScript, there are 3 options for 'Replace Existing Files'.
1. Always 2. Never 3. Check File (Version and Date/Time). Need to check what happens if we choose 'Always'.
Posted by:
anonymous_9363
13 years ago
Posted by:
subsense
13 years ago
ORIGINAL: VBScab
But there must be a better method to do this.If the files do not contain file version information in their header, then no, there's no better way.
Okay, I always did that trick.
The files are in this case XML files.
Another option is to make a Custom Action and copy the files with a vbs or bat.
Posted by:
anonymous_9363
13 years ago
Posted by:
AngelD
13 years ago
Posted by:
pjgeutjens
13 years ago
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.