/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (1)

Posted by: zipsantro 16 years ago
Purple Belt
0
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".
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