If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
What do people use nowadays to put errant programs where they belong?
On 13/07/2017 05:52, CRNG wrote:
Thanks very much for that summary. I will probably find in useful sometime soon. Thank you for appreciating the effort, as I've been on Usenet for decades, so I know that it's important to give back to the group that has helped me so much. I just wish Google would archive this ng, so, we should probably post a solution to a windows XP group which is archived. https://groups.google.com/forum/#!fo...newsgroup.here Probably best to put it he https://groups.google.com/forum/#!fo...dowsxp.general To further clarify the final solution, I didn't mention in the final writeup how I knew what to make the shortcut "target" and "start in" directories, so, more realistically, the situation will go something like this. 1. Innocently download & install the offending msi installer: Example: https://devede.org/download/windows (devede-setup-3.17.0-build2.msi) 2. Innocently run the offending MSI installer. It's only at this point that you realize it went directly into C:\Program Files (x86)\MajorSilence\DeVeDe\devede.exe 3. Make a note of the Programs menu shortcut settings that result: Target = "C:\Program Files (x86)\MajorSilence\DeVeDe\devede.exe" -imgburn Start in = "C:\app\dvd\author\devede" 4. Before you uninstall the offending program, obtain "jsMSIx.exe": http://www.jsware.net/jsware/msicode.php5 5. Before uninstalling the offending program, run jsMSIx.exe. In this case, it created three objects: .\FontsFolder Directory\devedesans.ttf .\Program Files Folder\MajorSilence\DeVeDe\(lots of stuff) .\MSI Unpack.log 6. Go through each of those above in detail until you're sure you know where everything 'went' when you originally installed using the MSI. a. Luckily, there was only a single font file b. And it was obvious it goes in the Windows Font directory c. There were registry keys, but they turned out to not matter d. The rest was just a badly named & badly placed folder tree 7. Outline a plan for what you want to *change* in where things went above. For me, that only meant that I wanted to change the depth of the install hierarchy and the location and the name. a. Leave the registry alone b. Put the font in the Windows font directory c. Put the folder tree (renamed) in my desired directory FROM: .\Program Files (x86)\MajorSilence\DeVeDe\ TO: .\apps\dvd\author\devede\ 8. Now it's time to uninstall the offending program! I used Ccleaner because I also clean the registry. But you can use any uninstall method you like. 9. Then move the unpacked files and folders according to plan. a. Move the font into the Windows font folder b. Rename and simplify the directory tree c. Move that simplified directory tree where you want it FROM: .\Program Files (x86)\MajorSilence\DeVeDe\ TO: .\apps\dvd\author\devede\ 10. Create a shortcut using the new locations according to plan. devede{.lnk} (OLD) Target = "C:\Program Files (x86)\MajorSilence\DeVeDe\devede.exe" -imgburn (NEW) Target = "C:\apps\dvd\author\devede\devede.exe" -imgburn (OLD) Start in = "C:\Program Files (x86)\MajorSilence\DeVeDe" (NEW) Start in = "C:\apps\dvd\author\devede" 11. Optionally, make a cascaded menu entry that corresponds exactly: Start menu dvd author devede{.lnk} 12. Test your newly created shortcut. Voila! You've turned an "installed" program into a "portable" program. WARNING: You won't see this program as being "installed" in the CCleaner GUI for what programs are installed. |
Ads |
Thread Tools | |
Display Modes | |
|
|