Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
howto compile an msi installer
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1073

PostPosted: Thu Apr 16, 2020 8:02 pm    Post subject: howto compile an msi installer Reply with quote

I would like to build this, but have no idea how this could be done, and don't find any documentation. Can one give me some hints to push me to the right direction?

Last edited by Elleni on Fri Apr 17, 2020 8:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 2127
Location: Frankfurt, Germany

PostPosted: Thu Apr 16, 2020 8:09 pm    Post subject: Reply with quote

You want to build a Windows MSI package under Linux? Look at msitools, especially at wixl and wixl-heat.

It should be noted that msitools provides only a small subset of the original Wix Toolset.
Back to top
View user's profile Send private message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1073

PostPosted: Thu Apr 16, 2020 8:27 pm    Post subject: Reply with quote

Well I would like to create / build / compile the msi file from the linked source repo on github. And I have no idea how this could be done. One can buy it, but it's not affordable for our company. On the other side it is apparently opensource and witch some knowhow one can legally build it if I am not mistaken. I thought, maybe this is doable under linux, but if not, I would also try to build it on a windows client. I would like to know, what the needed tools for that are, and where can I learn howto do it?
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 2127
Location: Frankfurt, Germany

PostPosted: Thu Apr 16, 2020 8:36 pm    Post subject: Reply with quote

I think you would need a Microsoft Windows machine, Microsoft Visual Studio, the WiX Toolset and the WiX Toolset Visual Studio Extension, which you can find at https://wixtoolset.org/releases/.
Back to top
View user's profile Send private message
Banana
Guru
Guru


Joined: 21 May 2004
Posts: 450
Location: Germany

PostPosted: Thu Apr 16, 2020 8:49 pm    Post subject: Reply with quote

As the readme of the project says
Quote:
The Solution is built using the platform tools v142 (VS 2019)

So you need Visual studio and the platform tools.

Building a software targeted to a specific OS would be best build with the help from this OS and not anywhere else if you do not have the knowledge to start with.
_________________
My personal space
Back to top
View user's profile Send private message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1073

PostPosted: Fri Apr 17, 2020 9:46 am    Post subject: Reply with quote

Thanks. So I installed visual studio and WiX toolset and copied the needed json.hpp

I still have these errors

Anyone knows how to fix ?
Back to top
View user's profile Send private message
Banana
Guru
Guru


Joined: 21 May 2004
Posts: 450
Location: Germany

PostPosted: Sun Apr 19, 2020 2:28 pm    Post subject: Reply with quote

Since this is a windows software building problem, you might be in the wrong place to ask those questions. Creating a bug ticket was a good start though
_________________
My personal space
Back to top
View user's profile Send private message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1073

PostPosted: Sun Apr 19, 2020 3:46 pm    Post subject: Reply with quote

You are right. Just had the thread started here, as I did not know where else to ask and initially thought, this could be also built in a linux environment. Not having ever used visual studio for anything, I initially not even knew how to compile anything with it. Apparently some dlls could not be built as it does not find include files. No idea howto proceed. I hope the bug report will shed some light. Thanks for your comments which were helpful anyway.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum