How can i add a .ini to a install via msiexec

Questions about Wine on Linux
Locked
workin-mole
Level 1
Level 1
Posts: 5
Joined: Thu Mar 03, 2022 5:16 am

How can i add a .ini to a install via msiexec

Post by workin-mole »

Hi,
I am using wine64 to install a app via msi, I updated wine to ver: wine-7.3-47-g0c005d1 cause the msi was not launching. Now i see the install setup runs but is not correct due to the .ini not being used and it is in the same folder as the .msi
Is there a way to add the .ini to the install? Or I am missing any additional configuration?
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: How can i add a .ini to a install via msiexec

Post by jkfloris »

Some msi files have the ability to change certain properties. In which way this applies to your msi file is probably mentioned in the installation manual of the program.
workin-mole
Level 1
Level 1
Posts: 5
Joined: Thu Mar 03, 2022 5:16 am

Re: How can i add a .ini to a install via msiexec

Post by workin-mole »

The msi uses the .ini in windows and doesn't need any additional flag/parameter when doing msiexec, the thing is i don't know if that same principle applies for wine as the installer is doing default set on msi and not caring at all to apply the .ini changes in the install.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: How can i add a .ini to a install via msiexec

Post by jkfloris »

There are several ways you can figure out what is going wrong.

Use WINEDEBUG

Code: Select all

WINEDEBUG=+msi,+msiexec wine msiexec /i installer.msi >> msi.log 2>&1
Use a log file

Code: Select all

wine msiexec /i installer.msi /Lp C:\installer.log
For both ways, look for a property that refers to the ini file.
workin-mole
Level 1
Level 1
Posts: 5
Joined: Thu Mar 03, 2022 5:16 am

Re: How can i add a .ini to a install via msiexec

Post by workin-mole »

Ended making in visual studio the .ini file go inside the .msi Thanks for the replies.
Locked