01-08-2010 02:02 PM
01-12-2010 05:09 PM
Hey Mliu,
Because Visual Studio 2005 didn't exist when Measurement Studio 6.0 was released, there is no native support (aka no NI Measurement Studio App Wizard in File>>New>>Project). Some customers have been successful in using Measurement Studio 6.0 in VS2005 but first I want to address your concern that you can't deploy in VC++ 6.0.
I did some searching for you and it looks like there should have been a program called InstallShield that you can choose to install from your VC++ 6.0 disk by running the "full setup".
Here is a Microsoft document that mentions the InstallShield software being an option: http://support.microsoft.com/kb/217091
"To install any of the following tools, you must run the full setup.
After digging a little further, I found this document on CodeProject that shows you how to create an installer for VC++ 6.0 using InstallShield:
How to Create Customized InstallShield for a VC++ Application
http://www.codeproject.com/KB/install/InstallShieldguide.aspx
Also, I don't know what your licensing situation is, but if you have a license for a more recent version of Measurement Studio, then I can point you to a version that supports Visual Studio 2005 natively and you go this route.
Lars
01-15-2010 12:54 PM
Hi, Lars
Thanks for your reply. Now I setup my application using Visual Studio Installer, it works in the target machine very well. But another problem comes up, my application after installed only run in WindowsXP, not in Vista, even can't open in Vista. Also I open cwui.ocx using depends.exe, show mesa.dll :"error opening file, system can't find mpr.dll", but I checked mpr.dll is in system32. If is there some problem in cwui.ocx, my application can't open in Vista. Thanks again.
01-19-2010 06:58 PM
Hey mliu,
Do you have another Vista system that you could try your installer on bychance? I did some searching internally and unfortunately I can't find any records of other customers having this issue. I did search the web, though, and it seems that people have seen this error on machines with corrupt files or possibly virus attacks. The best step would most likely be to try to uninstall and reinstall this DLL from a trusted source. Here is a webpage that I ran across:
http://pcsupport.about.com/od/findbyerrormessage/a/mpr-dll-not-found-missing-error.htm
Although this page has a lot of steps (going so far as reformatting your machine), if you had another Vista machine then you could verify that it isn't your particular computer by trying another. Rebuilding the installer would also be a good idea.
Hope this helps,
Lars
01-19-2010 11:11 PM
Hi Lars,
I did try another Vista, show me the same message " your application stop working", also I tried five WindowsXP, all work very well. One day, I used installshield to do my installer, whole procedure is ok, but when I ran my installer, showed me the message " can't find cwui.ocx in the component table", actually cwui.ocx is in system32. Why?
Thanks.
mliu
01-20-2010 02:31 PM
Hey mliu,
According to this website: http://www.itwriting.com/blog/?p=167 as well as others, it looks like Visual Studio 6 is not supported on Vista. The author of that website did eventually get it installed, but he was trying to install the VS6 development environment and not an application installer. It looks as though your deployment will work on XP machines but that your VS++6 application is not supported on Vista. Since you mentioned in a previous post that you have Visual Studio 2005, then one option would be to upgrade your version of Measurement Studio to one that supports VS2005. This would allow you to be able to deploy to both XP as well as Vista machines.
Lars
01-21-2010 12:25 AM
Hi Lars,
I will think about your advice. Thanks a lot.
mliu