Replace file
I need to replace the .xml file in remote computer. How can I create a package to replace the file using WISE studio.
0 Comments
[ + ] Show comments
Answers (6)
Please log in to answer
Posted by:
murali.bhat
13 years ago
If you are looking for MSI to copy the file and not any other solution :
You can either have a new MSI package with version equals to minor version increment of your existing MSI (this should upgrade your existing package)
OR
Update the existing MSI itself with newer file and use repair from source.
You can either have a new MSI package with version equals to minor version increment of your existing MSI (this should upgrade your existing package)
OR
Update the existing MSI itself with newer file and use repair from source.
Posted by:
naveen.packager
13 years ago
Posted by:
anonymous_9363
13 years ago
Forget WiseScript, you can do this natively in the MSI.
XML files don't have version information so ignore that, too. I wouldn't rely on the file's date/time stamp, either, since a user could update it, meaning that the test in the package for a date older than the package's copy would fail.
Use the RemoveFile table to delete the old file. The table is documented in MSI.CHM which will have been installed with your packaging tool.
XML files don't have version information so ignore that, too. I wouldn't rely on the file's date/time stamp, either, since a user could update it, meaning that the test in the package for a date older than the package's copy would fail.
Use the RemoveFile table to delete the old file. The table is documented in MSI.CHM which will have been installed with your packaging tool.
Posted by:
Arminius
13 years ago
Posted by:
bini2082
13 years ago
Posted by:
anonymous_9363
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.