We have determined this to be a result of using File Operations - File Removal Dialog. Is there a way to use this operation without the creation of the BAT file?
We are using a generic installer project to generate an MSI file. When running the MSI file, it creates a randomly named bat file that executes the following code.
chcp 65001
del "{%TEMP%}\{filename of this bat file}" /Q /F
The filename of the file is in the form: {GUID}.bat
We are using "PowerShellPostInstall" custom action, attaching a ps1 script, to run some logic and file I/O after installation. When Advanced Installer reaches this step, it will write ps1 files (the attached script and another script for preparing functions AI_GetMsiProperty, AI_SetMsiProperty ...
FOLLOW US
Get the latest news in Application Packaging