VMware Cloud Community
perun1
Contributor
Contributor

VMWare InstallBuilder - temp directory

Hello,

I need to run program from installer and need it to be wrapped to script. So I use runProgram like this

<runProgram>
    <program>${path_to_executable_file}</program>
    <programArguments>${argumentsToPass}</programArguments>
    <workingDirectory>${working_dir}</workingDirectory>
    <wrapInScript>1</wrapInScript>
</runProgram>

When running installation on Windows, installer creates .bat file to temp directory and then tries to execute it. But from security reason it is pretty usual to block any execution of scripts and binaries from system temp directory. Is it possible to change location, where installer creates this .bat file?

0 Kudos
0 Replies