eksime / VDesk

Launch programs on new virtual desktops.
GNU General Public License v3.0
625 stars 57 forks source link

Package app as a single portable executable #60

Open teoxoy opened 5 years ago

teoxoy commented 5 years ago

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)?

starik1968 commented 5 years ago

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

teoxoy commented 5 years ago

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.

eksime commented 5 years ago

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

teoxoy commented 5 years ago

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.

starik1968 commented 5 years ago

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

starik1968 commented 5 years ago

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

teoxoy commented 5 years ago

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.

EED85 commented 5 years ago

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