[GH-ISSUE #516] Client without .net #280

Closed
opened 2026-02-27 15:49:40 +03:00 by kerem · 12 comments
Owner

Originally created by @dummy0stud on GitHub (Aug 24, 2016).
Original GitHub issue: https://github.com/quasar/Quasar/issues/516

Looking at loaded modules at process explorer it is possible to see all dlls loaded by client.exe, if we take these loaded dlls and put in the same directory of client.exe in other machine without .net will it work?
There is any way to make client.exe working without the whole .net4.0?

Originally created by @dummy0stud on GitHub (Aug 24, 2016). Original GitHub issue: https://github.com/quasar/Quasar/issues/516 Looking at loaded modules at process explorer it is possible to see all dlls loaded by client.exe, if we take these loaded dlls and put in the same directory of client.exe in other machine without .net will it work? There is any way to make client.exe working without the whole .net4.0?
kerem 2026-02-27 15:49:40 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@maddnias commented on GitHub (Aug 24, 2016):

I'm working on a c++ quasar client that will work on systems without .NET installed and also operating systems other than Windows. No promises though.

https://github.com/UbbeLoL/Native-QuasarClient

<!-- gh-comment-id:242217491 --> @maddnias commented on GitHub (Aug 24, 2016): I'm working on a c++ quasar client that will work on systems without .NET installed and also operating systems other than Windows. No promises though. https://github.com/UbbeLoL/Native-QuasarClient
Author
Owner

@mvrozanti commented on GitHub (Aug 24, 2016):

What I've been doing is to create a standalone with the bytes of the client + .NET 4.0 Client Profile installation wizard. By running it with "/q /norestart" it is invisible and at the same time won't restart the target machine. If the machine has .NET installed the standalone just executes the client.

<!-- gh-comment-id:242225054 --> @mvrozanti commented on GitHub (Aug 24, 2016): What I've been doing is to create a standalone with the bytes of the client + .NET 4.0 Client Profile installation wizard. By running it with "/q /norestart" it is invisible and at the same time won't restart the target machine. If the machine has .NET installed the standalone just executes the client.
Author
Owner

@dummy0stud commented on GitHub (Aug 25, 2016):

@mvrozanti is your .NET 4.0 Client Profile installation wizard 40mb? can you provide some sample?

<!-- gh-comment-id:242284672 --> @dummy0stud commented on GitHub (Aug 25, 2016): @mvrozanti is your .NET 4.0 Client Profile installation wizard 40mb? can you provide some sample?
Author
Owner

@mvrozanti commented on GitHub (Aug 25, 2016):

Yes the 40 MB one. I can't upload at the moment but it's easy enough in Visual Studio. Create a project
Add the wizard by dragging it to the project in Project Explorer. Set in that object's properties to embed to application. This will pack the file you included to be inside the exe. You can then extract the file to the disc by calling Assembly.GetExecutingAssembly().GetManifestResourceStream("wizardFileNameInsideProject"). This will return you the Stream associated with the embeded file. Read that to the end and you got the bytes of the wizard. With File.WriteBytes you can now run it in the target machine with the arguments mentioned before. I can explain a little further if you have trouble. Good luck

<!-- gh-comment-id:242407132 --> @mvrozanti commented on GitHub (Aug 25, 2016): Yes the 40 MB one. I can't upload at the moment but it's easy enough in Visual Studio. Create a project Add the wizard by dragging it to the project in Project Explorer. Set in that object's properties to embed to application. This will pack the file you included to be inside the exe. You can then extract the file to the disc by calling Assembly.GetExecutingAssembly().GetManifestResourceStream("wizardFileNameInsideProject"). This will return you the Stream associated with the embeded file. Read that to the end and you got the bytes of the wizard. With File.WriteBytes you can now run it in the target machine with the arguments mentioned before. I can explain a little further if you have trouble. Good luck
Author
Owner

@dummy0stud commented on GitHub (Aug 25, 2016):

@mvrozanti 40mb is too big I don't think I will do it but thank you, @MaxXor there is any way to port Client to .net 3.5?

<!-- gh-comment-id:242411191 --> @dummy0stud commented on GitHub (Aug 25, 2016): @mvrozanti 40mb is too big I don't think I will do it but thank you, @MaxXor there is any way to port Client to .net 3.5?
Author
Owner

@mvrozanti commented on GitHub (Aug 25, 2016):

If target machine has internet connection then you could download the client and then exec it. I think we cannot port it to 3.5 without ridding it of some functionalities. I understand the pain brother, win7 :x

<!-- gh-comment-id:242414643 --> @mvrozanti commented on GitHub (Aug 25, 2016): If target machine has internet connection then you could download the client and then exec it. I think we cannot port it to 3.5 without ridding it of some functionalities. I understand the pain brother, win7 :x
Author
Owner

@dummy0stud commented on GitHub (Aug 25, 2016):

@mvrozanti I changed project configs to .net 3.5 and did not get too much errors, I think I am going to port it to .net 3.5

<!-- gh-comment-id:242424995 --> @dummy0stud commented on GitHub (Aug 25, 2016): @mvrozanti I changed project configs to .net 3.5 and did not get too much errors, I think I am going to port it to .net 3.5
Author
Owner

@log4she11 commented on GitHub (Aug 25, 2016):

@dummy0stud
.net 3.5 is 231.5M,so you changed the project configs to .net 3.5 is unusefulness

<!-- gh-comment-id:242462548 --> @log4she11 commented on GitHub (Aug 25, 2016): @dummy0stud .net 3.5 is 231.5M,so you changed the project configs to .net 3.5 is unusefulness
Author
Owner

@dummy0stud commented on GitHub (Aug 25, 2016):

@54Pany but windows 7 ships with 3.5 so there is no need to download it, it looks like it is more complicated than I thought to port quasar to 3.5 if anyone can help me I thanks

<!-- gh-comment-id:242471841 --> @dummy0stud commented on GitHub (Aug 25, 2016): @54Pany but windows 7 ships with 3.5 so there is no need to download it, it looks like it is more complicated than I thought to port quasar to 3.5 if anyone can help me I thanks
Author
Owner

@mvrozanti commented on GitHub (Aug 25, 2016):

If I understand correctly your problem is that you want to port to 3.5 because of the incompatibility with Windows systems that do not have the 4.0 .NET framework am I right? If that's the case why don't you have your program download and execute the Client Profile Installer of your choice? "Oh but what if the computer is not connected to the web or the download fails?" - then you could try and have the same program written in C++ instead of C# (NativeQuasar as written by @UbbeLoL ). Then you will be able to be .NET-free. In C# you may not. Maybe if you use third party software like Xamarin, TurboStudio or alikes (I'm guessing here, you'll have to do some research further because I didn't find jack).

<!-- gh-comment-id:242485815 --> @mvrozanti commented on GitHub (Aug 25, 2016): If I understand correctly your problem is that you want to port to 3.5 _because_ of the incompatibility with Windows systems that do not have the 4.0 .NET framework am I right? If that's the case why don't you have your program download _and_ execute the Client Profile Installer of your choice? "Oh but what if the computer is not connected to the web or the download fails?" - then you could try and have the same program written in C++ instead of C# (NativeQuasar as written by @UbbeLoL ). Then you will be able to be .NET-free. In C# you may not. Maybe if you use third party software like Xamarin, TurboStudio or alikes (I'm guessing here, you'll have to do some research further because I didn't find jack).
Author
Owner

@dummy0stud commented on GitHub (Aug 25, 2016):

@mvrozanti yes, you are right, thank you I am going to think about your words

<!-- gh-comment-id:242490342 --> @dummy0stud commented on GitHub (Aug 25, 2016): @mvrozanti yes, you are right, thank you I am going to think about your words
Author
Owner

@hanbim520 commented on GitHub (Aug 26, 2016):

https://github.com/hanbim520/PasswordLibrary.git Now it' empty ,this saturday i'll push the project.
I write it use c/C++.And the project is made by cmake.I want to let it run on linux mac and windows.

<!-- gh-comment-id:242689145 --> @hanbim520 commented on GitHub (Aug 26, 2016): https://github.com/hanbim520/PasswordLibrary.git Now it' empty ,this saturday i'll push the project. I write it use c/C++.And the project is made by cmake.I want to let it run on linux mac and windows.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Quasar#280
No description provided.