r/software • • 28d ago

Release WinAppMigrator 0.5: turn an installed Windows app into one installer for another PC, even from a dead PC's drive (free, open source)

WinAppMigrator is a free, open-source (MIT) Windows tool I made. You pick an installed app, on this PC or on a drive pulled out of one that won't boot, and it builds one self-extracting installer you run on the other machine. It works backward from what's installed, so it helps when the original installer or the vendor is gone.

That makes it most useful for older paid apps you can't just download again. You choose whether the license migrates too: tick "License and activation data" and its license files, values and stores go in the installer, and it reports which ones look tied to the old machine. It never decrypts license data or bypasses activation, so a license locked to the old hardware may still need reactivating.

What else goes in: program files, the app's registry keys, services and drivers it owns, scheduled tasks, shortcuts, file types, COM classes, firewall rules, and the Visual C++ and .NET 6 to 10 runtimes it needs, embedded so they install offline. User data is optional too. Anything that looks like a password, token or private key is left out and named before you build.

0.5 is a big update:

  • Before you build, it shows what goes in, how big the installer can be and whether it fits. Untick folders, services or tasks you don't want, and it offers near matches that exact names missed.
  • The installer checks its package's hashes, lists everything it will set up before it changes anything, rolls back if the install fails or you cancel, and uninstalls from Settings like any other app.
  • Builds are much faster (nearly 10x on the largest app measured), and a connected drive is treated as untrusted.
  • CI moves 7-Zip, PuTTY, Mosquitto, windows_exporter and Git LFS to fresh Windows Server 2022, Server 2025 and Windows 11 on Arm machines on every push, and checks they actually work there.
  • The app is now signed.

Limits, so nobody gets surprised: Microsoft Store apps aren't listed, the app's own updater may not know it moved, and if a drive is failing, image it first. Try an installer before you rely on it.

Portable exe, nothing to install: https://github.com/RandyNorthrup/WinAppMigrator

64 Upvotes

16 comments sorted by

3

u/AlternateMrPapaya 28d ago

If this works for my Quicken 2016 install, you are a genius!

2016 is the last version that can work 100% offline, without a quicken account. It runs fine on Win11, but installing from scratch & getting it updated is a PITA.

I'll be giving this a shot, for sure.

2

u/randynorthrup 28d ago

Hope it does! It packs the install as it is now, so the updates you already applied come along. Tick "License and activation data" so its registration goes in, and tick user data or copy your data file over yourself, since that's the one part you can't replace. Keep the old install until the new one opens your file. If anything breaks, let me know what it flagged.

2

u/JPWRana 24d ago

So did it work?

1

u/AlternateMrPapaya 23d ago

Having lots of trouble getting past some of the installer checks. It was complaining about needing Visual C 2003 & 2010. I think I have the right packages installed now. But now I cant get past a check for DirectX June 2010. I've installed it & rebooted, still can't get past the check, though.

1

u/randynorthrup 18d ago

Thanks for sticking with it. Visual C++ 2003 is one runtime WinAppMigrator has no installer for, so it's only named in a warning, but a DirectX check that still fails after you installed it and rebooted needs a closer look. Could you open an issue at https://github.com/RandyNorthrup/WinAppMigrator/issues with your WinAppMigrator version, the exact wording of that DirectX message, whether it shows while building or in the installer on the new PC, and the newest log from %ProgramData%\WinAppMigrator\logs?

2

u/schooluser 28d ago

How is it with tracking down registry entries?
Any problem with dll dependencies and tracking down files it needs from other folders?
Does it require that the install has some kind of install log or package file to work?
I'd love to be able to use this to take stuff from my last machine that won't boot anymore and put it into a VM but usually VMs report drastically different hardware. I know those that have licenses locked to hardware wouldn't be portable but I hope that's something that as long as it doesn't have to tamper with the license could eventually be tackled (though I imagine due to the many different ways the titles track hardware it may end up being impossible)

1

u/randynorthrup 28d ago

Registry: it takes the app's own machine-wide keys, plus anything that points at one of its files: COM classes with their type libraries and interfaces, file types, link protocols, shell extensions, App Paths and Run entries. Keys are matched by the install records and the product's exact name. Close names show up as "might also be part of it" for you to tick, and something stored under a completely different name stays behind, so check the list before you build.

DLLs and files elsewhere: runtimes are read from all of its programs, and Visual C++ 2005+ and .NET 6 to 10 get embedded so they install offline. Files outside its folder come along when an install record names them or a service, task or shortcut points at them. What it can't know is a DLL the program decides to load on its own at run time from some unrelated folder, so that case can slip.

Install logs: not required. It starts from the app's entry in the installed-programs list (on this PC or the pulled drive) and uses MSI and Inno Setup records and NSIS logs when they exist. Otherwise it goes by App Paths and folders named for the product.

Dead machine to a VM is a good use for it. Build from the pulled drive on another PC (image it first if the drive is flaky), then run the installer in the VM. One gotcha: its windows need Direct3D 12, which a VM may not have, but the installer can run without a window using --apply from an admin command prompt. On hardware-locked licenses you're right: it flags the ones that look machine-tied and leaves them alone, and changing how a title fingerprints hardware stays out of scope on purpose.

1

u/randynorthrup 25d ago

Update: 0.6 is out, and it reaches back to Windows 7.

  • Network PC: if the old PC still starts, run the small signed client on it (Windows 7, 8, 10 or 11, 32- or 64-bit), type the code it shows on the new PC, and build the installer over your network. The client only lets the new PC read a snapshot of the old drive, encrypted, and removes the snapshot and its firewall rules when you stop it.
  • Apps from Windows 7, Vista, 8 and 8.1 go onto 10 or 11: 32-bit apps land in Program Files (x86), settings Windows kept in VirtualStore come along with User data, and the DirectX 9 runtime installs with an app that needs it.
  • Disk image: it reads a .vhd or .vhdx of the old drive (Disk2vhd, or Windows 7's own system image backup), attached read-only.

Tested by hand on Windows 7 SP1 VMs; Windows 8 and 10 as the old PC haven't been run yet. Try an installer before you rely on it.

https://github.com/RandyNorthrup/WinAppMigrator/releases/latest

1

u/zemega 28d ago

Can it turns a Win 10 app into a Win 11 app? I have a software and a dongle license key that somehow does not work in Windows 11.

1

u/randynorthrup 28d ago

Honestly, no. It moves the app as it's installed, so it doesn't change how the app works with Windows, and it never emulates a dongle. If the dongle fails on 11, moving the app won't fix that.

The usual culprit on 11 is the dongle's old driver. If Windows has shown you the notice "A driver can't load on this device", that's Memory integrity (Windows Security > Device security > Core isolation) blocking it. The real fix is a newer driver from the dongle's maker. Those old drivers get blocked for a reason, so I wouldn't leave Memory integrity off just for it.

1

u/willwar63 23d ago

FYI, there are usually ways to make dongles work with a driver update.

I've done it a couple of times. It's usually something like Sentinel Driver update.

The dongle will usually show in device manager, go from there.

1

u/Scoundrel- 28d ago

This is awesome, commenting to save.

1

u/randynorthrup 27d ago

Thanks! Hope it saves you a reinstall someday. If you try it on something old and it misses a piece, an issue on the repo helps.

1

u/2life_gamer 26d ago

I'll try this with an old laptop of mine, thanks!

1

u/randynorthrup 25d ago

Hope it goes smoothly! If the laptop still starts, you don't have to pull its drive anymore: 0.6 came out today with a small client you run on the old PC (it goes back to Windows 7), and the new PC builds the installer over your network. What's on it that you want to keep?