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!

AnypadDev
Posts: 3
Joined: Tue Nov 03, 2020 6:54 am

Disable generation of randomly named BAT file executing CHCP 65001

Hi,

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.

Code: Select all

chcp 65001

del "{%TEMP%}\{filename of this bat file}" /Q /F
The filename of the file is in the form: {GUID}.bat

Would anyone know if there a specific setting on why this file is being generated? It is causing issue with one of our client due to the random naming of the file and their security policy. I need to disable this to allow our client to proceed with installation.

Software Version: 16.4.1
Edition: Professional

Thanks
AnypadDev
Posts: 3
Joined: Tue Nov 03, 2020 6:54 am

Re: Disable generation of randomly named BAT file executing CHCP 65001

Hi,

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?

Thanks
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Disable generation of randomly named BAT file executing CHCP 65001

Hello,
We have determined this to be a result of using File Operations - File Removal Dialog.
You are indeed right.
Is there a way to use this operation without the creation of the BAT file?
Unfortunately, I'm afraid not.

Please let me know if you have any other questions.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”