We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Aravindadx
Posts: 8
Joined: Fri Apr 25, 2014 4:52 am

Need to run a batch file after copying all files in setup

Hello,

I like to know how to run a batch file in my setup after copy all files to the hard disk. I have already built a setup and that setup file include the batch file which I need to run on that computer. And also I need to run this batch file with administrator previledges. So I extract my all files into Temp folder in drive C:\. But when I test my setup.exe on virtual machine that displays me an error as "cannot write script record. transaction not started" . I don't know how to solve this problem. But I need to run my batch file after extract/copy all files into Temp folder 100%. Is there a possible way to do this? I like to know and I'm very appriciate your help for me.

Thank You!

(There are few screenshots for how I attached the batch file and custom action)
Attachments
Capture.PNG
Capture.PNG (80.21 KiB) Viewed 2367 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Need to run a batch file after copying all files in setup

Hi,

Please take a look on the "Launch a bat file after/in the installation" thread which debates a similar scenario and a project sample is also attached.

Let us know if this helped, otherwise give us more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”