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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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.
Answered 06/27/2011 by: murali.bhat
Purple Belt

Please log in to comment
0
You can also do that using install files option in wise script.
Answered 06/27/2011 by: naveen.packager
Green Belt

Please log in to comment
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.
Answered 06/28/2011 by: VBScab
Red Belt

Please log in to comment
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.
Answered 06/28/2011 by: Arminius
Second Degree Green Belt

Please log in to comment
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.
Answered 06/28/2011 by: bini2082
Senior Purple Belt

Please log in to comment
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.
Answered 06/29/2011 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity