ALVR icon indicating copy to clipboard operation
ALVR copied to clipboard

create installer for server app

Open gb2111 opened this issue 8 years ago • 12 comments

hi. i could write simple installer using inno setup so you can get server installed, icon, etc. if you like idea and have not planned anything else i would be happy to do that.

unforunately I cannot compile project as I don't have cuda. if you could provide me compilete build folder and tell where you would like installer file to be and where to make package I would be able to contribute at least a little :)

greg

gb2111 avatar Jun 21 '18 15:06 gb2111

Thank you for your help! I will be glad if you create that! Do you need all build output like *.obj or *.pdb? I think if you have CUDA.lib (static library), you can avoid CUDA compilation.

CUDA.zip

I don't know how we should collaborate to create installer. I added you as collaborator for now. So perhaps you can put it on release page by your privilege. Please check it.

polygraphene avatar Jun 21 '18 17:06 polygraphene

i already tried but Visual Studio could not open CUDA project at all as there was some .properties file missing and path for this file was reffering to folder with CUDA name.

So full build would be best I think.

I guess best if I will make my changes on fork and make pull request.

gb2111 avatar Jun 21 '18 19:06 gb2111

Okay. I can't upload packages (include libraries ALVR depends on) directory, because the directory is too large to upload on GitHub. This zip contains 7zip archive of Release build outputs.

ALVR.zip

I guess best if I will make my changes on fork and make pull request.

I got it.

polygraphene avatar Jun 22 '18 09:06 polygraphene

@polygraphene you can get installer from my fork https://github.com/gb2111/ALVR

it is in installer folder. there are empty license file, you can update but we can also remove. you need install InnoSetup to make it working.

I assumed some names for program, group and not sure if they are ok. if you open file you can change all easily. when you are ok I can make pull request to your branch.

let me know if you have any comments.

gb2111 avatar Jun 27 '18 04:06 gb2111

hi. @gb2111 did you compile the ALVR with CUDA? I can't Load CUDA, and I can't find <cuda.h> in NuEncoderCuda.h.

sols000 avatar Jun 27 '18 05:06 sols000

i did not compile but used ready build that is attached to prev thread. i asked for this just for purpose of making installer.

gb2111 avatar Jun 27 '18 06:06 gb2111

@gb2111 Great! Thank you! I will try it.

polygraphene avatar Jun 28 '18 05:06 polygraphene

It works! Great! Can you create PR? or can I pick your commit?

I don't know how to create license file. I want to put MIT license text. But, is it normal on an open source project?

We should add some files for newer version (it introduce new dlls). I will try it myself after you send PR.

polygraphene avatar Jun 28 '18 07:06 polygraphene

hi, here is pr

yes. this is quite easy. it would be good to check names as I don't think that mine are best ones :) and either update license.txt file or remove it. Also would be good to run something on uninstall to unregister driver. If you have any questions please let me know.

gb2111 avatar Jun 28 '18 13:06 gb2111

Thank you! Yea. ALVR Client maybe a confusing name. I will fix name and add code to run driver_uninstall.bat on uninstall.

polygraphene avatar Jun 28 '18 13:06 polygraphene

OMG! i forgot the file is there.

just add something like this:

[UninstallRun] Filename: {app}\driver_uninstall.bat;

gb2111 avatar Jun 28 '18 14:06 gb2111

@gb2111 Oh! Thank you!

@sols000 Install CUDA 9.2 and check CUDA_PATH point to C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.2 Or you can remove CUDA related code. CUDA is only used for Windows 7.

polygraphene avatar Jun 28 '18 17:06 polygraphene