Test my program in different windows versions - windows

Before go to production, I have to test a windows application in several windows versions (from 7 to 10, 32 and 64 bits), what supposes download the ISOs (luckily we have licenses), create the virtual machines and install all the versions one by one. Is there any faster way to do it? Like a cloud solution as an example.

I create different OS images manually on Virtualbox and use the VirtualBox Automation API's to install the windows application and test them.
Here are related SO posts
Testing windows installers
How to automate installer testing

Related

Windows 8 emulator on windows 7?

By building my android aplication on phonegap for windows 8 i got a .xap file. Now am not having windows 8 pc or windows 8 phone. I want to test my xap file, so what can i do now? Is that possible to run the xap file on windows 7 if so how ? I tried by installing windows software development kit but i couldnt find any emulator. Is there any other way to run the application on windows 7 desktop ?
No, there's no emulator for Windows 8 on Windows 7.
Your best bet would be virtual machine. Two most popular options are VirtualBox and VMware. You can run virtual PC and install Windows 8 on it (you'd need a Windows 8 installation though).
Microsoft released new virtual images with different Operating Systems and Browsers on modern.ie. On the right side of the page you'll find different virtualization options as well as download links to different images. You can download and use these images without having to worry about buying any license, getting the system installed, etc. (they're time limited, but you can just reset your virtual machine at will).

Deploying Datasnap Service

Using C++ Builder under Rad Studio XE I have created a simple Datasnap server service from scratch. I wanted to test the service installation process before adding any functionality, and found that while it will install successfully on a range of Windows machines, I haven't been able to get it to Start under a clean installation of Windows 7 x64.
The error message trying to start the service is: Windows could not start the service on Local Computer. Error 2: The system cannot find the specified file.
I have turned off both dynamic linking and run-time libraries. It starts fine under Windows XP and 2003 operating systems, just not this single Win7 machine that I have. I have opened the firewall for the specified ports, and confirmed no other app is using them as well. The service was installed under Administrator, and logs on as Local System account.
Is there a problem with a C++ Builder compiled service under Windows 7, or maybe 64 bit? Hopefully someone can point me in the right direction so I don't have to bang my head against the wall too many more time.
Thanks!
Since C++ Builder creates 32bit applications only, make sure you install the service in the c:\Windows\SysWOW64 folder on 64bit Win7 systems. Windows 7 x64 expects to find only 64bit files/services in the system32 folder.

Run Visual Studio 2002, 2003, and VB6 side-by-side on Windows 7

I am upgrading my machine to Windows 7 but I would still be supporting VS2002 (.net 1.0), VS2003 (.net 1.1) , and VB6 applications.
Is it possible to load these VS and VB6 applications, build, compile, edit code, and support this source code in Windows 7?
Best way to answer your question is to do an experiment. You can setup a VirtualBox whose guest OS is Windows 7, then put whatever programs inside and test out. If they run fine, it's okay to do the real upgrades.
Yes you can.
Refer here
http://www.vbmonster.com/Uwe/Forum.aspx/vb/33424/VB6-on-Windows-7-64-bit
You need a virtual machine. Sorry. You could always see if the virtual machine in Win7 works - but failing that, do what I did and create a virtual machine running XP and run it from there.
I'm pretty sure I've used VB6 and VS2003 on Vista in the past, so there shouldn't be a problem with 7. I'd second setting up a VirtualBox or maybe try VirtualPC to give it a go.
Even if for some strange reason you weren't able to install the development tools, you could (assuming you're using a high enough edition) use Windows XP mode for those tools that you couldn't get to run natively under Windows 7.

Where to find list of default dll files available on Windows (XP, Vista, 7, ...)?

Is there some list of .dll files that are available on the various freshly-installed Windows platforms (or at least, the recent ones like Win XP and Win 7)? I am looking for a list similar to this one for Windows 2000.
(I am compiling a python app with py2exe, and the application reports which dlls are required for potential distribution with the compiled application, but unfortunately it doesn't tell me which ones are installed by default)
I think this is what you're after (at least for Windows 7).
And here's the Windows XP version.
If you are targeting different windows versions with your application, it is a really good idea to set up a virtual test environment for each of the primary target platforms, for example, using VMware, MS Virtual PC or Oracle Virtual Box. If you then still need the list of all available DLLs, just look in the windows folders after a fresh install in the virtual machine by yourself.
By the way, having a look on the py2exe tutorial site, the example shows up ADVAPI32.dll,
USER32.dll,SHELL32.dll and KERNEL32.dll as DLLs on which the generated files depend. AFAIK those DLLs are primary windows components, not to be deployed by your program, and available under all Windows versions I had to deal with the last 15 years.

Additional languages in Virtual XP mode under Windows 7

Is there any way to get additional languages in Virtual XP Mode under Windows 7?
Thanks,
kreb
From my testing of XP mode it appears that its just a VM running on Windows Virtual PC where the VM add-ons provide hooks for Windows 7 to run any application that's installed on the VM. The key thing appears to be Windows Virtual PC and the add-ons, since you can have Windows 7 installed on the VM just as easily as XP.
I don't see why you couldn't have multiple VMs running different languages if that's what you're looking for.
Thanks, for the interest..
Anyway, I managed to make it work by inserting a physical Windows XP CD (Simplified Chinese, SP2) in and getting the language files from that. WinXP complains that the files are the wrong version though and that they're not the ones used by the install media, which in this case is an MSI that I got from the Microsoft website. So yeah, just ignore the warnings, reboot, you should be good.. :)

Resources