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)
FOLLOW US
Get the latest news in Application Packaging