Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How come this worked? Launch app from image.

18 Apr 2013   #1

Windows 7 Pro 64 bit
 
 
How come this worked? Launch app from image.

I am wondering why something I did today worked and its implications.

I am in the middle of upgrading to a new PC so many of the apps I use on a regular basis are on my new Win 7 PC and some of my apps are on my old XP PC. I had removed most of the apps that had been installed on the new PC from the old one because a number of the apps I will need to run in the future will not run on the new OS so I created a VM of the old PC using VMware Convert. Since I wanted this VM to be as light as possible I removed all but the essential programs from the old PC which is where I am at now.

Today I was working on the old PC and discovered I needed an app that was no longer on it. I did not have access to the new PC but I did have access to an image I had made of it. I thought perhaps I would be able to find the install files for the app from the image rather than have to re-download them so I loaded the image as a virtual drive and went looking for them. Unfortunately (or fortunately) the install files were not there. I figured I had nothing to lose, so I navigated to the virtual drives program files folder in Windows Explorer, found the programs folder, and doubled clicked on the launch (exe) file for the app. Much to my surprise the app (Sony Sound Forge) launched without issue. I was able to use it, save my file to the real machines C drive, and then dismount the virtual drive without issue.

Why was I able to do this? I know the registration files and the installed program etc are part of the image but I did not think this would be sufficient to allow the program to launch as if it were currently installed on the old PC.

The implication here is that it may be possible to have VMs simply based on a drive image. No need for special software, no need to do PtoV using a program like VMware Convert, just mount an image as a drive, double click on any exe file for a particular program in that image, and away you go.

So why did this happen, why was I able to launch the app from the Virtual drive?

I look forward to your comments/thoughts on this.


My System SpecsSystem Spec
.

19 Apr 2013   #2

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro with Media Center
 
 

I am not sure I understood you correctly? You launched this app on your old XP PC from the image of your new 7 PC:
Quote:
I did not have access to the new PC but I did have access to an image I had made of it.
A few possible scenarios would explain this. First of course if the app is portable i.e. it does not make any registry entries pointing to hard coded locations.

It could also be so simple that when you deleted the application from XP it did not delete configuration settings, leaving enough behind, so when launched and code instructed the app to get for instance display coordinates and so on they were still in XP to be found.

Nothing to worry, but also no reason to start celebrating saved work as if virtual machines would no longer be needed. They are still needed.

My guess is it is portable. To test this, copy the app folder to any other PC or virtual machine and try if it runs.

Kari
My System SpecsSystem Spec
19 Apr 2013   #3

Windows 7 Pro 64 bit
 
 

Thank you for your reply Kari

Quote   Quote: Originally Posted by Kari View Post
I am not sure I understood you correctly? You launched this app on your old XP PC from the image of your new 7 PC:
That is correct.


Quote:
It could also be so simple that when you deleted the application from XP it did not delete configuration settings, leaving enough behind, so when launched and code instructed the app to get for instance display coordinates and so on they were still in XP to be found.
After uninstalling the apps I had installed on the new 7 PC I ran a registry cleaner (Wise Reg Cleaner) so I do not think the registry code and other app configuration settings would still be available.

Quote:
My guess is it is portable. To test this, copy the app folder to any other PC or virtual machine and try if it runs.
Sony Sound Forge is not a portable app so this is not a possibility.
My System SpecsSystem Spec
.


19 Apr 2013   #4
Microsoft MVP

 

If it ran from the Program Files folder .exe for the program then it is portable enough to run this way, as are some other games and programs.

Are you sure it wasn't running virtually, or was the image only mounted to access files?
My System SpecsSystem Spec
20 Apr 2013   #5

Windows 7 Pro 64 bit
 
 

Quote   Quote: Originally Posted by gregrocker View Post
If it ran from the Program Files folder .exe for the program then it is portable enough to run this way, as are some other games and programs.

Are you sure it wasn't running virtually, or was the image only mounted to access files?
Thanks for your reply,,,,,I have no idea if it was running virtually or not. All I did was open the program that created the image (Diver Cloner by Horizon Data Systems) and mount the image as a virtual drive. You know the rest.

When I have some time this weekend I will try launching some other programs from the image and will report the results below.
My System SpecsSystem Spec
20 Apr 2013   #6
Microsoft MVP

 

I've seen similar situations like with PokerStars which discontinued a favorite version from being available once it is uninstalled, but allowed those who had it installed to keep using it permanently.

After an OS reinstall a fan was devastated that he'd lost all of his poker friends in a newer version that wanted him to start over. I mounted the backup image of his previous install using System Image - Extract Files Using Disk Management and ran the Program file which started the old game. I then copied the file out of the image, unmounted it and the old version of the game still ran. So he is still running it today from the inert Program File with a link to it's .exe on his desktop.

This may be what's happening with your game.
My System SpecsSystem Spec
20 Apr 2013   #7

Windows 8 Pro (32-bit)
 
 

it might be adding stuff to the running system's registry.

In a few cases a program doesn't care where it's execution directory is located, as long as everything inside the directory is organized the way the program expects.

But that can easily break if the program uses absolute paths to things inside of it's directly or relative paths to things outside.
My System SpecsSystem Spec
Reply

 How come this worked? Launch app from image.




Thread Tools



Similar help and support threads for2: How come this worked? Launch app from image.
Thread Forum
Solved defrag c: -w -v worked on vista? Performance & Maintenance
USB ports worked in XP not in 7 Hardware & Devices
Canon s4500 worked once... not now Hardware & Devices
Launch Manager (Quick Launch Buttons) Hardware & Devices
Install worked in W7 64 RC Virtualization
Games that Worked ok for me Gaming

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:58 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33