|
Mircea Neacsu wrote: Oh BTW: lately I've got into shipping one EXE applications just like in the days of good old DOS. That's one thing that Apple does right. When you "install" an app on a Mac, you're litteally just copying a single file over that's really an archive of executables, libraries, and settings. No registry edits. No worrying about what goes where. You just copy a single file over to your app folder... done.
Now, some Mac apps will have an "installer" but you don't need it since that's all it's doing... just copying over a single file.
Jeremy Falcon
|
|
|
|
|
Most of the time I make my apps self-installing - even my services.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
They have to get onto the system somehow.
|
|
|
|
|
Generally what I do (whenever possible) is a I ship a single executable. It contains the install code in it that runs on first launch.
Obviously that doesn't work if you need to ship a bunch of dependencies with it.
I made a thing called CSBrick that will take C# projects and turn them into a single large C# file so you can effectively wedge it into a project statically instead of linking to it as a DLL.
It's here on codeproject if you want to use that to cut down on external dependencies.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
i toyed with ILMerge a few times. It puts all of the project assemblies into a single exe. I stopped using it when I started writing WPF apps because it doesn't work with those.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I initially was going that route, but I ran into issues with ILMerge with certain projects. It's been so long now I couldn't tell you what the issue was, but CSBrick was built because ILMerge didn't work in all cases.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
|
I have files in .7z format and need to unzip them to do further manipulation.
is this .7z format the same as .zip format in algorithm?
diligent hands rule....
|
|
|
|
|
Maybe not.
I happened to find a .7z file on my system today and I see that 7zip reports it as "Method = LZMA2:14".
7zip doesn't report a Method for a zip file I checked.
File Explorer can open it, but it's possible it use 7zip to do so. I don't know, but 7zip was one of the first things I installed when I got this system.
|
|
|
|
|
thanks for the info
diligent hands rule....
|
|
|
|
|
|
0x01AA wrote: Call the 7z commandline tool from your application
That's what I've done in the past.
|
|
|
|
|
thanks a million
diligent hands rule....
|
|
|
|
|
Southmountain wrote: is this .7z format the same as .zip format in algorithm? Yes, it just zips data up into seven internal zip files inside a single archive.
Jeremy Falcon
|
|
|
|
|
Yesterday, my neighbor disappeared.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
honey the codewitch wrote: Squirrels... cold winter... gathering more nuts than usual.
Yesterday, my neighbor disappeared.
There are no squirrels in Washington D.C. or in any other national or state capital.
Proof: CNN, BBC, ... ad nauseaum
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
So they've lowered their standards as well?
|
|
|
|
|
Hello all,
I have a customer with one 25 years old robot with an industrial computer and windows 95.
That robot computer came with a big chunky 60GB HDD.
Years ago, I replaced that HDD by a Fujitsu SSD with the same size.
Now the customer wants an extra backup (clever) and asked me to buy another SSD to get an image stored there "just in case".
The smallest SSD I've found is +/- 240GB.
I know OSes have limits, is it possible to partition the SSD to fool the computer and make it work even in a 32Bits windows 95? Is that even necessary? will that not be a solution? and is there any solution for that?
Thank you all in advance...
|
|
|
|
|
yes. I've done it for years. Wait one...
Charlie Gilley
“Microsoft is the virus..."
"the problem with socialism is that eventually you run out of other people's money"
|
|
|
|
|
On one of my embedded projects, the controller OS could only handle DOS-16 - basically nothing larger than 2GB. Now this project started in 2003, it's still deployed. We started with 64MB compact flash. Obviously, over a couple of decades, you simply cannot find these small capacity cards. So, I dug around and came up with the information for resizing the drives.
I mainly used this on Compact Flash cards that were either 4 or 8GB. I have not used it on an SSD, but I cannot think of a reason why it would not work.
Hope this helps.
------------------------------------------------------------------
Before starting, please remember that you can seriously mess things up if you make a mistake using command line disk management. Please make 150% sure you are selecting the correct disk so you don’t format your hard drive. You are solely responsible for anything that happens as a result of using this code 🙂
Instructions for reducing the partition size of a compact flash (CF) card:
Open a command Window (Windows-> Start -> cmd)
Type diskpart
A new window will open up with a “diskpart>” prompt note: if there happen to be network drives, and you are not on the network, this command can take some time.
list disk
select disk n (where n is the number of your CF card)
list volume
select volume n (where n is the number of CF card volume)
clean all (this completely reformats the disk – it will take a while and appear to hang but be patient)
create partition primary (this gives the newly formated CF card a partition so it can be resized)
shrink querymax
This will tell you how much space is currently on available on your CF card. Subtract this from the filesize in MB you want for the final disk than add 1.
For my 4GB disk, shrink querymax returns:
“The maximum number of reclaimable bytes is: 3824MB”
I wanted a final disk size of 2GB which a google search told me is 1954MB so 3824 – 1954 + 1= 1871
shrink desired = 1871 (This tells diskpart to try and shrink the disk by 1871 MB)
Now that the disk is the right size, you can format the partition…
format fs=fat label=”volumelabel”
That’s all it takes.
More info on diskpart commands here:
http://technet.microsoft.com/en-us/library/cc766465(WS.10).aspx
Charlie Gilley
“Microsoft is the virus..."
"the problem with socialism is that eventually you run out of other people's money"
|
|
|
|
|
fwiw, this should work on any spinner as well.
Charlie Gilley
“Microsoft is the virus..."
"the problem with socialism is that eventually you run out of other people's money"
|
|
|
|
|
SSD isn't great for long term storage. They need to be powered on now and then to keep the nand storage active. Rather use a normal HDD for backup and storage.
|
|
|
|
|
op doesn't talk about backup - this is a live system. minor nit.
never mind, I'm tired and had to re-read the op.
Charlie Gilley
“Microsoft is the virus..."
"the problem with socialism is that eventually you run out of other people's money"
modified yesterday.
|
|
|
|
|
The SSD would be fine
|
|
|
|
|
Joan M wrote: The smallest SSD I've found is +/- 240GB.
Have you not checked Amazon?
They have lots of small (and super-cheap) 32GB, 64GB, and similar-range SSDs that go for $20-22. I've seen packs of 10 that go for under $150.
They're so cheap I've bought a pack of 5 just to replace the spinning disks in my old laptops. That was last year; these days you can pay roughly the same price for more than double the capacity.
At that price, if you don't trust them for long-term storage, use the spares for additional backups.
|
|
|
|