Adding batch script to package
Dear Pals
I am a newbie in packaging field. I packaged McAfee Virusscan 8 successfully. I also need to add path for repository in package which would be V:\. I installed application with all settings and noticed that SiteList.xml which is located under %Allusers% stores all the repository information. I am thinking it would be easy to just replace SiteList.xml with one with all settings to get this package configured. I can use a batch script that can replace SiteList.xml after executing package. Is there any way i can force to run this batch script to run after package install using wise package studio.
Thanks in Advance
I am a newbie in packaging field. I packaged McAfee Virusscan 8 successfully. I also need to add path for repository in package which would be V:\. I installed application with all settings and noticed that SiteList.xml which is located under %Allusers% stores all the repository information. I am thinking it would be easy to just replace SiteList.xml with one with all settings to get this package configured. I can use a batch script that can replace SiteList.xml after executing package. Is there any way i can force to run this batch script to run after package install using wise package studio.
Thanks in Advance
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
zipsantro
16 years ago
Yes there are diffrent ways to execute a batch file after installation.
You must have heard about Custom Actions in Windwos Installer Technology. Using these custom actions your MSI can execute your batch file after inatallation. Follow the below steps-->
1. Add the batch file to your installer.
2. Create a immediate custom action --> Type = 34, Target = <BatchFilePath> and Source = "SystemFolder" sequenced it after "InstallFinalize".
You must have heard about Custom Actions in Windwos Installer Technology. Using these custom actions your MSI can execute your batch file after inatallation. Follow the below steps-->
1. Add the batch file to your installer.
2. Create a immediate custom action --> Type = 34, Target = <BatchFilePath> and Source = "SystemFolder" sequenced it after "InstallFinalize".
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.