Silent Install Windows Software Development Kit (SDK) for Windows 8 - windows

I am writing my first Powershell script to automate the installation of Windows Software Development Kit (SDK) for Windows 8. I plan to install it on a Hyper-V VM running on Windows Server 2012. I have the .exe file (sdksetup.exe) necessary for the install. I've looked into answer files, but it seems they require a disc. I need to be able to press "Next" a few times, uncheck some preset boxes, and agree to a EULA, all automatically. I am fine with the default location of installation as well. It seems so simple, yet I haven't found any really good resources on the web yet. Thanks in advance.

Related

What is required to run a VB Group Project on Windows XP and Windows 7?

I had an application written in VB on my laptop which was running Windows XP until I formatted it yesterday. A friend copied it over several years ago but it's not possible to contact him anymore. This project consists of .vbg, .vbp, .vbw, etc. files and a few .mdb files which store the databases. I also had a shortcut on my desktop which was referencing a .vbg file which used to open up a window and I was then supposed to press a "Play" button to launch the application.
I've copied the required folders over to my new laptop which now has Windows 7 Professional (32 bit) but I have no idea how to run this application and what is required. I also tried creating a VM using Windows XP just to check if the problem is with Windows 7 (or above) but still I am probably missing other required software (a debugger perhaps? visual studio or something?).
My questions are:
Is it possible to run this project on Windows 7 and what software is required to accomplish that?
What am I missing on the Windows XP VM? Do I have to install Visual Basic or some other debugging software?
Appreciate your help,
Kyriacos.
First of all, you need to have visual basics to run the .vbg or .vbp files. There is no other application that supports those formats. And Second, you can run the project on windows 7 as it is compatible all the way to windows 10.

Installing VS2005 on Windows 7

I'm trying to install Visual Studio 2005 on a Windows 7 box but am repeatedly getting the same error. When I run the installer it starts to run then pops up with a message saying:
"A problem has been encountered while loading the setup components. Canceling setup."
Various suggestions has said that maybe the install is corrupted so I downloaded a fresh copy of the ISO from MSDN today, same issue. Another suggestion is that installing from the ISO may be the issue so I extracted the contents of the ISO to a folder on my HDD, same issue. I have also tried running the files as administrator and in XP compatability mode, same issue.
Searching for this issue the most common responses I've found have been about installing SP1, however I cannot get the base product to install and therefore cannot apply SP1.
Does anyone have any further suggestions as to what I can do to fix this issue and get VS2005 installed? If anyone wants any log files of any variety I am happy to supply so long as you tell me where to look as I'm not sure.
As for why I am using VS2005 and not a newer product, it is required for the ongoing support and maintenance of some older applications we manage. These cannot be easily migrated to a newer version of Visual Studio without some considerable investment of time and that would probably be longer than the time it will take to develop newer, replacement applications (which is currently in progress). Until the new applications are available though we need to maintain an environment to use.
Did you try running setup.exe in compatibility mode with Windows XP? Some discussion here on how to do this.
Another alternative since you alluded to having an MSDN subscription. Download Windows XP and install it into a VM. (If HyperV isn't already in installed with your Win7, you can add it from Control Panel->Programs&Features->Turn Windows Features on/off). Then install VS2005 from there.

Uninstall parallels plesk panel, I can't

I installed parallels plesk panel 9.5 for windows, on windows server 2003 x64, now I can not uninstall, I get this error:
The Windows Installer Service could not be accessed. This can occur if you are running Windows in safe mode, or if the Windows Installer is not correctly installed.
Windows is not running in safe mode, and i try to install windows installer, but i cant.
And not that way I can do to uninstall. can help me with this problem?
I just finished uninstalling Plesk Panel 11 using the Windows "Uninstall a program" feature. It seemed to work as it displayed a DOS window and informed me of each module it was uinstalling but it did not remove anything from IIS. Also the entire Parallels directory structure was still fully intact after the uninstall "successfully" completed.
I had to manually remove websites and application pools from IIS and manually delete the entire directory and file structure in windows explorer. However, in order to do this I had to first stop all the MailEnable Services as well as end the Process for METray.exe.
In other words, removing Plesk Panel completely was a mostly manual process.
Parallels plesk 9.5 and 10.1-10.3 does not support uninstall as for unix/linux as for windows OSes.
If i'm not mistaken plesk supports uninstall for windows starting from 10.4 or it's 11 version. Need to reread release notes.
As options for uninstall might be following:
Try to upgrate to plesk 11 and them uninstall plesk (accually I do not so sure in this option and will be good to check it before trying on real server);
redeploy server if it doesn't important for you;
stop panel at the services and do not care about it. Also you can remove panel from filesystem and from iis manually.

Setting up the environment for Windows Mobile7 Application development with existing VS2010 Ultimate

I am interested in windows mobile7 application development and struggling with setting up the development environment. I found this DISCUSSED LINK.
(So it answered one problem that I had. I have already installed VS2010 Ultimate edition. I guess when I install Windows mobile7 SDK, it will install all the Windows mobile7 SDK tools without affecting the VS2010 that I have already Installed)
In my laptop I have windows7 64Bit operating system. Can someone please send me the steps that I should follow to make the environment to start windows mobile7 application development without affecting existing VS2010.
If someone can post the steps in sequence (including where I can find the SDK tools), Highly appreciated. Thanks inadvance...!!!
You can't install Windows Phone tools without affecting existing VS2010 installation. How would you create Phone apps without adding phone tools to the existing installation? Adding tools is an affect, is it not? Why worry about adding more tools? It's not going to take anything away from VS.
Download the tools from create.msdn.com. Run the Windows Phone tools, and start writing phone apps. It really is that simple. As for the tools installing the express version, I don't think so. I have ultimate, and looking through my file system now, there is only one devenv.exe, not a second one for express.

Has anyone had success with Visual Studio 6 on Windows 7?

VS6 popped off a series of errors before bombing out completely during install on Windows 7. I specifically need to get VB6 functioning on Windows 7. Anyone having any luck?
Folks on the VB6 newsgroup report they have managed to get it working on Windows 7.
There's this step-by-step guide on how to install the IDE on Windows 7 (including 64 bit).
If that doesn't work (scrapes barrel) try this old tip about persuading the install not to install the Java VM? Link is now broken so here is the tip:
Before trying to install VB6. Create a new file, name it msjava.dll and place it in your windows directory. The file can be zero length. You can then happily install without the prompt to install an old version of Microsoft's flavour of Java. Once you have installed VB6, delete the msjava.dll otherwise windows update will prompt you to update it.
Or (scrapes hole in barrel) these tips from an article about getting the IDE working on Vista?
Footnote: if developing with ADO, be aware of this.
The only way I've found that works is Windows XP mode (i.e. a virtual machine). Works fine there, but otherwise, not at all.
I found ALL the answers in a thread at vbmonster.com. As mentioned above, you CAN install Visual Studio 6 with Service Pack 6 under Windows 7 by following Derek's detailed instructions at fortypoundhead.com.
I had a problem because I needed to install Service Pack 5. I use a third party program that does not work with Service Pack 6. A really smart programmer (GuideX) came up with a great hack to get around the MDAC 2.5 error.
Win 7 64 bit service pack 5 & 6. Turn compatability off and it seems to work.
Recently I had to debug an ancient application written in Visual C++ 6.0 on Windows 8.1. Tried different solutions all of them failed, only this one worked.
This guys made a special installer that allows installing VC++6, VB6, and SP6 on Windows Vista/7/8/8.1/10 without any errors whatsoever.
Hope it would be helpful to someone.
I installed VB6 on Windows 7 Pro without having to use compatibility settings or run as administrator.
Doesn't really help you, but does show that it can work.
Several people in my office have installed Visual Studio 6 (without VC++) on Windows 7, both 32-bit and 64-bit with no problems. The one thing we have in common: we've all turned UAC down to it's lowest setting. Nothing else special required.
I am using vb6 on windows 7 32 bit system for a long time.
you will need to install your vb6 with compatibility of xp2.
Create a 0-byte file in the C:\Windows directory called msjava.dll.
Don't just install via the Autorun executable; instead browse the Visual Studio 6 CD (or folder), right-click Setup.exe and select Run As Administrator.
On any Program Compatibility Assistant warnings, click Run Program.
Step through the setup screens until you're able to choose Custom Setup, then click next.
On the setup options, install the following items and nothing else:
Microsoft Visual Basic 6.0
ActiveX
Data Access
Graphics
Click continue and the process will start, and (hopefully) eventually complete.
Skip the installations of the MSDN CD, BackOffice, VSS and SNA Server, and clear the checkbox for "Register Now". Setup should be complete.
Download the VB6 Service Pack 6 from http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=A8494EDB-2E89-4676-A16A-5C5477CB9713&displaylang=en and install.
Change the compatibility settings for Visual Basic (to get it to run a little more smoothly under Windows 7) by browsing to C:\Program Files\Microsoft Visual Studio\VB98, right-clicking the VB6.exe file, and selecting properties.
On the Compatibility tab, check the following:
Run this program in compatibility mode for Windows XP (Service Pack 3)
Disable Visual Themes
Disable Desktop Composition
Disable display scaling on high DPI settings
When you start up the IDE, you may get a notification saying that the color scheme has been changed to Windows 7 Basic, but it will be changed back to Aero once you exit. Everything should be working fine at this point!
Note: when you first run your new install vb6 run it with admin rights and with xp2 compatibility so that your exe can run on any system.
The word "supported" is used loosely in this thread, potentially leading the unwary reader to the conclusion that Microsoft supports the VB6 IDE (that is, the integrated development environment) on operating systems beyond Windows XP. This fact clearly is stated in the table that appears on the page at this link:
https://blogs.msdn.microsoft.com/nikosan/2012/04/20/support-statement-for-visual-basic-6-0-on-windows-8-updated/
Note that executables developed using VB6 are in fact compatible with Windows OS's from Windows XP through Windows 10--32/64-bit versions:
https://blogs.windows.com/buildingapps/2015/06/22/getting-ready-for-windows-10-sdks-compatibility-bridges/
Anyone using non-standard methods to coax the IDE into working on OS's that Microsoft does not support is exposing themselves/their organizations/their employers to risk and is not suitable for risk-averse organizations.
Having said that, I think the purest solution is to install Windows XP onto a virtual machine and run that VM in a modern host OS, such as Windows 10. That works just fine, and you can install directly from the VB6 Setup disc without making any pre-install/post-install customizations.
I had a Vista x64 box with a working copy of the VB6 IDE (which was supported). I upgraded the OS to Windows 7 x64 and the VB6 IDE still works fine. You could try that. I know, a huge PITA and kludgy but still, it worked for me.
I run Windows 7 Ultimate 32-bit, installed Windows Virtual PC - XP Mode, and that solved my problem isince I can run MSDEV 6.0 in the XP Window.
Not esay to install XP Mode though, the MS site is buggy.
The VB6 programming language is supported on the Windows 10 Technical Preview.
Visual Vasic 6 applications run and the VB6 IDE installs and works too.
I have the VB6 IDE running OK on Win-XP-16, Win-7-32, Win-7-64, Win-8.1-32, Win-8.1-64, win-10-32 and win-10-64 by using the instructions above which basically say, turn off UAC, run the installer AS ADMIN, and then set the VB6.exe file to run in XP-SP3 Compatibility mode.
I have had some issues with it and have had to do a bit more googling to solve these but I don't remember any more what those issues or solutions were.
I've even got the VB3 IDE running on the 32-bit versions of XP, Win-7, Win 8.1 and Win-10 - without even installing them - just copied the C:\VB folder from another computer and copied the *.LIC license files and *.VBX etc files as well.
I have successfully installed vb6 on win 7 32 bit by installing xp first then installing new win 7, (not upgrade), and do not format. then it will install vb6 without a problem
It's depending on your build version of Windows 7.
If your Win7's version is lower or is not updated, it has MANY PROBLEMS with compatibility.
But mine is newer Win7 version and has NO COMPATIBILITY TROUBLE.
I am currently using VB6 , VS6 and they still work fine!
If Properties->Compatibility->Windows XP doesn't help, fix it with UPDATING your Win7.

Resources