mirror of
https://github.com/quasar/Quasar.git
synced 2026-04-25 15:25:59 +03:00
[GH-ISSUE #516] Client without .net #280
Labels
No labels
bug
bug
cant-reproduce
discussion
duplicate
easy
enhancement
help wanted
improvement
invalid
need more info
pull-request
question
wont-add
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Quasar#280
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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?
@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
@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.
@dummy0stud commented on GitHub (Aug 25, 2016):
@mvrozanti is your .NET 4.0 Client Profile installation wizard 40mb? can you provide some sample?
@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
@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?
@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
@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
@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
@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
@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).
@dummy0stud commented on GitHub (Aug 25, 2016):
@mvrozanti yes, you are right, thank you I am going to think about your words
@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.