Forum Discussion
Win32 Configuration files
Hi all,
I'm able to package and rollout a MSI based application. It's quite neat.
However, if I want to add a config file e.g. the installer command in Intune would be something like "
"msiexec "program.msi" config = "config.txt" "
Intune seems to either ignore the "config" part or perhaps tries to call it but can't reference the file. Is it possible in Intune to use a config file like this?
I know I could do this using a CMD or Powershell script.
HeyDaithiG
Say for example I'm installing the MSI called install.msi and in a folder called 'files' I have config.txt. My install command might look something like this:
msiexec /i install.msi /q CONFIG="files\config.txt"
When the program is installed, it's executed from C:\Windows\IMECache\<ID>, so you could potentially use this path too if a relative one isn't working.
6 Replies
- Totally possible. When running IntuneWinAppUtil, make sure you package Config.txt along with the MSI, then in your command for installation specify the config file using a relative path.
HeyDaithiG
Say for example I'm installing the MSI called install.msi and in a folder called 'files' I have config.txt. My install command might look something like this:
msiexec /i install.msi /q CONFIG="files\config.txt"
When the program is installed, it's executed from C:\Windows\IMECache\<ID>, so you could potentially use this path too if a relative one isn't working.