/build/static/layout/Breadcrumb_cap_w.png

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)

Posted by: murali.bhat 12 years ago
Purple Belt
0
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.
Posted by: naveen.packager 12 years ago
Green Belt
0
You can also do that using install files option in wise script.
Posted by: anonymous_9363 12 years ago
Red Belt
0
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.
Posted by: Arminius 12 years ago
Second Degree Green Belt
0
Is that all you are doing is replacing a file? Most app management suites will let you drop down files, if that is the case.
Posted by: bini2082 12 years ago
Senior Purple Belt
0
Actually i want to replace the sylink.xml file in remote computer in with SEP is installed. For that first i need to stop the SMC service and replace the file and after that SMC service will start.
I need a vbscript for this action. Can anyone help.
Posted by: anonymous_9363 12 years ago
Red Belt
0
I need a vbscript for this actionNo, you don't. Use the ServiceControl table to stop the service. As with all the other tables, it's documented in MSI.CHM.
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