T
thursday's geek
I am using the Visual Studio 2005 installer on our project, and we just
started moving from C++ to C#. So, most of the code is still C++, but there
are a few projects that are C#. The C# projects are not signed (I was told
that there were issues with signed code calling unsigned code and vice
versa, plus, I don't quite understand all of that yet.)
I am getting warnings when I build the install, and I've searched and it
appears that I can ignore them. I'm including them here, just in case that
is not true. I added Microsoft_VC80_ATL_x86.msm,
Microsoft_VC80_CRT_x86.msm, and Microsoft_VC80_MFC_x86.msm, and get warnings
about "Two or more objects have the same target location
('[payload_ul]\8.0.50727.762.policy')". I also have the ATL, CRT, and MFC
versions of policy_8_0_Microsoft_VC80_nnn_x86.msm which gives warnings about
"Two or more objects have the same target location
('[policydir]\8.0.50727.762.policy')"
Even with those warnings, I can get an install that appears to work. I am
using a virtual machine, and it was installing and mostly running yesterday
morning, and then it quit working. (A co-worker was using a real machine,
and was always getting the same errors.)
Starting mid-day yesterday, as soon as I run my app and get to a part that
would be using a C# project, I get the following.
Runtime Error!
Program: C:\<company name>\<project name>.exe
This application has requested the Runtime to terminate in an unusual way.
Please contact the application's support team for more information.
The exception unknown software exception (0x40000015) occurred in the
application at location 0x781346b4.
Click on OK to terminate the program
We are installing both the C++ and C# dlls in the same directory. I don't
know if I'm doing something wrong that is simple and obvious (to someone who
knows), or if I'm just totally on the wrong path. We also have
Installshield 5.0 (there are valid reasons why we don't have the current
version, but I don't recall them), and I'm going to go try messing with that
and see if I can get any further. I'm walking pretty blind, and if anyone
can provide some light, I'd sure appreciate it.
-karen
started moving from C++ to C#. So, most of the code is still C++, but there
are a few projects that are C#. The C# projects are not signed (I was told
that there were issues with signed code calling unsigned code and vice
versa, plus, I don't quite understand all of that yet.)
I am getting warnings when I build the install, and I've searched and it
appears that I can ignore them. I'm including them here, just in case that
is not true. I added Microsoft_VC80_ATL_x86.msm,
Microsoft_VC80_CRT_x86.msm, and Microsoft_VC80_MFC_x86.msm, and get warnings
about "Two or more objects have the same target location
('[payload_ul]\8.0.50727.762.policy')". I also have the ATL, CRT, and MFC
versions of policy_8_0_Microsoft_VC80_nnn_x86.msm which gives warnings about
"Two or more objects have the same target location
('[policydir]\8.0.50727.762.policy')"
Even with those warnings, I can get an install that appears to work. I am
using a virtual machine, and it was installing and mostly running yesterday
morning, and then it quit working. (A co-worker was using a real machine,
and was always getting the same errors.)
Starting mid-day yesterday, as soon as I run my app and get to a part that
would be using a C# project, I get the following.
Runtime Error!
Program: C:\<company name>\<project name>.exe
This application has requested the Runtime to terminate in an unusual way.
Please contact the application's support team for more information.
The exception unknown software exception (0x40000015) occurred in the
application at location 0x781346b4.
Click on OK to terminate the program
We are installing both the C++ and C# dlls in the same directory. I don't
know if I'm doing something wrong that is simple and obvious (to someone who
knows), or if I'm just totally on the wrong path. We also have
Installshield 5.0 (there are valid reasons why we don't have the current
version, but I don't recall them), and I'm going to go try messing with that
and see if I can get any further. I'm walking pretty blind, and if anyone
can provide some light, I'd sure appreciate it.
-karen