VDesk icon indicating copy to clipboard operation
VDesk copied to clipboard

Package app as a single portable executable

Open teoxoy opened this issue 6 years ago • 8 comments

It would be great if I could use the app without installing it. Can you maybe package the app as a single portable executable (i.e. VDesk.exe)?

teoxoy avatar Nov 15 '18 23:11 teoxoy

It is an MSI-file, it can be unpacked and then the .exe used in my opinion

starik1968 avatar Nov 17 '18 12:11 starik1968

MSI is an installer. And even if you install it and then try to use VDesk.exe by itself it doesn't work; it has dependencies in the folder where it got installed.

teoxoy avatar Nov 17 '18 13:11 teoxoy

I could certainly upload the exe and dlls in a .zip or (licences permitting), I could look at building an exe with the DLLs built in (like a c# version of a statically linked binary)

The msi is mostly responsible for adding the install folder to your PATH and updates, it's pretty basic otherwise.

In the meantime, I believe you could extract the DLLs and exe from the msi using msiexec's /a flag

eksime avatar Nov 17 '18 14:11 eksime

I could look at building an exe with the DLLs built in (like a c# version of a statically linked binary)

This is what I meant. An exe that you can just carry around. It would be great if you can release it like this.

teoxoy avatar Nov 17 '18 14:11 teoxoy

It is an MSI-file, it can be unpacked and then the .exe used in my opinion

starik1968 avatar Nov 19 '18 13:11 starik1968

I unpacked it and all run well as far as I remember

starik1968 avatar Nov 19 '18 13:11 starik1968

Yes it does but it has dependencies in the folder where it got installed so you can't just move the exe around and use it. You need all the files which could be packaged in the exe. - This was my suggestion. Edit: Even if you don't use the msi to install it and just extract the files, you still need to carry around the dependencies with the exe.

teoxoy avatar Nov 19 '18 14:11 teoxoy

Hi, would be great, it a portable app would be working easily ... Eric

EED85 avatar Dec 17 '18 07:12 EED85