Lester Ingber writes: > On the new PC I use Powershell (as Admin) to run setup-x86_64.exe for the > Base setup.
Not absolutely needed, but it creates all the directories and files you need correctly, so it's a good start. > From the old PC I can use the /etc/setup/installed.db file in the new machine > at the same location. …then modify it as described and then run setup.exe again and let it "update" your installation. If you had any services running you'll also need to run their initialization scripts again. > On the old machine, 5-6 years ago I used c:/cygwin64/ for the top > directory, but now I'll use c:/cygwin/ . I don't think this affects > anything. Not unless you have scripts that use the Windows path someplace. You'll find out soon enough, I think. > I'll tar up all my /usr/local/ files to drop into the new PC. > > I didn't see the posting referred to by Achim, but I think all I need is the > above. It was this one: https://sourceware.org/ml/cygwin/2015-09/msg00023.html You need a slight modification of the sed script however due to a more recent format change of installed.db: sed -re 's/^(.+) .+ ([01])$/\1 \1-0-0.tar.bz \2/' installed.db.old > /etc/setup/installed.db Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Terratec KOMPLEXER: http://Synth.Stromeko.net/Downloads.html#KomplexerWaves -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple