Installing Windows Media Player 9 on Windows 2000
Hi,
I'm trying to install Windows Media Player 9 in an application layer on Windows 2000 SP4. SWV with admin is installed and works. Installing WMP9 into the base OS works as well. When installing into an application layer the install progress bar hangs at 55 %. I tried single capture, global capture and running the setup from a captured cmd.exe. Always the same result. Is this a known issue? I couldn't find anything in the forums. Searching the knowledge base at https://kb.altiris.com/, I just found mentioned that installing Windows components is not supported. Is this still the case? Is WMP considered a Windows component?
Ya I don't think WMP is a
Ya I don't think WMP is a supported app on 2000 because of how it's installed as a component.
Honestly, unless you need to migrate that layer to other machines, I'd just set up WMP to run as an autorun application inside a layer so that whenever it launches it's detected by SWV and any changes it makes to inside that layer.
If a forum post solves your problem please flag is as the solution
I you like an article, blog post or download vote it up
Deploying the layer on other
Deploying the layer on other machines is exactly what I need to do. My task is to migrate a way to distribute an application from a completely preconfigured VMWare machine with all necessary apps installed to an SWV based solution. This is to avoid licensing costs for the OS inside the VM and the overhead of keeping track of these licenses.
In order for the software to work, certain 3rd party apps need to be installed (like Acrobat Reader, Real Player, etc.) as well as some Windows components (WMP, DirectX 9, some fonts) and certain configuration settings (security settings in IE). The 3rd party apps are already installed in an application layer. For WMP and DirectX we might need to ship installers with the software and install them in the base OS. I'm not sure how to determine that the fonts are installed and IE is configured properly. Maybe this can be done with scripting and telling the user to keep a Windows CD ready. But that's not exactly a user-friendly way to do it. :-/
I was hoping I could do all the installing and configuring under global capture in order to get everything into a layer. But I've learned that global capture is not recommended and there are issues with drivers and required restarts in DirectX for example.
Options
Depending on the O/S you are working with, you could consider switching to the free version of Microsoft Virtual PC (2004 or 2005 IIRC), if license costs are the main consideration.
Regarding WMP and DirectX 9, I would strongly recommend that you not waste time trying to virtualise these and instead just script them to install silently and upgrade the current machine installs (assuming you have no machines too old for DX 9 ). They are indeed windows components and pretty tightly integrated with the operating system.
IE configuration is controlled by user registry settings, so you could set these registry keys as required for the best user experience - the Internet Explorer Admin Kit would be a good tool to use to set up the necessary configurations if you are new to this.
Regarding fonts - these too can be installed, but check whether they are licensed or free before you commit to a method of deployment.
Out of interest, what is the nature of your overall project?
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
It's about the cost of the OS
It's about the cost of the OS license inside the virtual machine, not about the virtualization software. So switching to Virtual PC doesn't help, unfortunately.
Currently target platforms are Windows 2000 SP4 and Windows XP SP2 and SP3. Windows Vista and Windows 7 should be supported as well eventually, of course. Installing WMP and DirectX 9 on the base OS shouldn't be a problem. I think DirectX requires a restart, which is unfortunate, but probably unavoidable.
I was sort of imprecise when saying that I only need to install some fonts. What I actually need to do is add support for additional languages in Windows. The fonts for non-latin scripts that are installed with this are what is important, though. I already found some hints on the web on how to do this in a script. I don't know about the license on the files that are needed for the installation, so I assumed the worst case; that the user needs to have a Windows CD handy to install from.
Thanks for the tip about the Internet Explorer Admin Kit, that sounds very useful for what I'm trying to do.
The background on all this is roughly the following:
There's a reasonably complex client/server application that consist of many components and a SQL database. The application is deployed on a couple of servers and workstations with some firewalls and various other bits in between. This setup is of course not very mobile. One of the use cases of the app is to take an excerpt of the data, put that on a single machine and have it accessible (although read-only) exactly like it is in the multi host installation. Setting up such a single host installation involves everything that was mentioned as well as installing a local database, populating it, configuring all the apps to access the local db instead of the one on the network, etc. Not exaclty something one would tell non-technical customers to do themselves. So the sort of brute-force solution was to ship a complete virtual machine everytime some data needs to be accessed on a mobile workstation. This gets expensive and hard to keep track of quickly. Not even mentioning things like security updates. Think DVDs and other data storage mediums sitting in a closet for a couple of years that can be plugged into just about any machine and have such a mobile workstation up and running with the least amount of trouble. Another thing to take into account is, that these machines might already have an earlier version of the app installed, so the release that comes with the DVD should not interfere with the existing installation...
GSM access?
Given the costs of managing all this, is there any merit in considering a solution that allows a mobile user to connect into the application using a GSM dongle and remote access such as Terminal Services or Citrix?
I can see your problem with the users potentially having an earlier version of the app installed, but what about the SQL database? Presumably this will need to be updated as well, so will you install a separate DB with your newer app, or just update the existing DB ?
One final thought - not sure if this is viable at all within your environment, but with Linux distributions such as Knoppix being able to boot from CD or DVD - could the application be hosted on a bootable optical media running under Linux?
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Good idea to use some kind of
Good idea to use some kind of remote access solution. As far as I know, some competitors who have a similar setup do exactly that. :) I'm just a contractor working on this for a month. Originally I was meant to do some programming, but my current task was given higher priority due to "popular demand". So I can't really say why this option was dismissed in favor of the VMWare based approach.
The SQL database has the same issue. In fact, I think it was the original reason to ship the app with the data, because the schema changed between releases. The plan right now is to have the database software installed in an application layer and configured to look for the data wherever the installer on the distribution media puts it.
Many components of the system would run on Linux, but there are some GUI apps that are not easily ported (MFC, etc.). Having the complete system working on multiple platforms would be great. But I think right now, getting there would be a huge undertaking.
Database in Layer
I spent quite a long time trying to get SQL Server Express running in a layer. I was unable to do this because SVS does not support services in a virtualised environment. I have not tried with SWV as I don't believe anything has changed in its ability to handle services, and SQL does require a couple of services to be installed.
So unless someone has found a way to virtualise SQL, you will need to install the SQL server software into the base as well.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Thanks for the heads up. The
Thanks for the heads up. The database software used is Firebird. But it is installed as a service as well, IIRC. With every piece that cannot be virtualized the attractiveness of this approach diminishes, though.
edit: I just remembered that my first test of SWV was installing apache into a layer. That worked and apache is installed as a service on windows. So there is still hope. ;)
Let us know how you get on
Let us know how you get on and whether you are able to get your database software working.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Update
Just a quick update; Both services, Apache and Firebird seem to work inside an application layer. What I haven't tried is to include an ODBC connection in the layer as well. As far as I know, those configurations in the Control Panel are stored in the registry. When I have an installer that sets up everything I have so far automatically, I'll try adding the required registry entries. Another issue I need to test is what happens when I activate a layer containing Firebird on a machine that already has a running instance. The service inside the layer probably won't start since the Firebird TCP port is already open. Maybe I need to set the startup mode of the virtualized service to manual and add a program to the autostart of the layer that checks for running instances of Firebird, stops them and then starts the virtualized service.
Would you like to reply?
Login or Register to post your comment.