Problems deploying a kmdf driver - deployment

I've been trying to compile and deploy the sample keyboard filter supplied by Microsoft using visual studio 2012 tools. I have the target computer setup via a serial cable (virtualbox with a serial cable, seems to be working since the setup process managed to install everything on the target computer).
The sample code compiles fine, but when I attempt to deploy it, it starts by telling me that it is deploying, takes a while, and then declares that it has failed with the following error:
error : Driver Deployment Task Failed: Default Driver Package Installation Task (possible reboot)
Anyone know what could be going wrong?
Thanks in advance.

i don't know how to fix this problem. But i guess your settings for deployment is this in driver package's package property pages:
in the left pane of the Package Property Pages window, Configuration Properties > Driver Install > Deployment, you selected Install and Verify in the Driver Install Options part of the right pane. If i hit, then you should select Hardware ID Driver Update and input your driver's hardware id. You can find that in your driver's inf file which is generated by vs2012.

You may find this http://msdn.microsoft.com/en-us/library/hh439665(v=vs.85).aspx is useful for u, especially the Deploying and installing the driver part of that site.

Related

HP Intelligent provisioning (An error occurred while installing the system) Land is not defined

i'm trying to install OS through a network interface. also i'm launching console and mounting the shape. Then i'm doing all steps, but finally i see the message "ReferenceError:Land is not defined busy.htm:343"
Installation was tested on different images of systems.
Maybe somebody faced with the problem and can help?
Got same error. HP support says install directly from the ISO not using Intelligent Provisioning. The error may go away with multiple re-tries, or by updating the Intelligent Provisioning version.

Odoo: Internal Server Error

I've installed Odoo 9.0 on Ubuntu 14.04, and I've activated the developer mode to install module from App Store. Every app I try to install that doesn't belong to the 31 apps offered by default without accessing developer mode, I get this error:
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
It looks like this happens only on the local installation. i tried to install the Barcode app in online trial, and I encoutered no problems.
If anyone may help me, I'll be eternaly grateful.
Anyway, I'm pretty sure that the app on the "App store" provided in Odoo (not the ones that is possible to download in zip and add to addons), are only for the enterprise version.
I tried in a lot of computers and different installation with no luck.
Still happenning as of today. I've been able to manually install the module I wanted:
Go to the app store web site: https://apps.openerp.com/apps/modules
Search for and download your module
unzip the archive in the addons directory of your odoo installation
Go in odoo, settings, update modules list
you can then look for it in Local Modules. You may need to remove all filters. I've done this in v8.

Why am I getting an error before configuring a device in Visual Studio 2015?

I want to deploy my driver for testing. I have provisioned my target computer for testing (although this shouldn't matter because I am not even at that step yet). On my host computer I open Visual Studio and go to
Driver > Test > Configure Devices
and immediately an error window saying:
Inappropriate request for export from part that belongs to another sharing boundary.
This looks like a bug in my Visual Studio (I have just recently updated to VS Update 1).
I am going to uninstall and reinstall since I have already tried repair. Any other ideas?
UPDATE: Uninstall and Reinstall didn't work. The bug is documented on Microsoft Connect: Fails to load Configure Devices (Closed)
I was successfully able to configure and provision a new device using the following method:
Project properties
Debugging
Remote Computer Name, drop down and select Configure...
Successfully shows the device configuration wizard, and was able to provision the target computer.
Was then able to select the target in Driver Install - Deployment, however I get the following error when selecting "Deploy". This could be related to my project tho, please let me know if you also see this.
Please select a valid target machine for deployment from the project property page
UPDATE: the above error may have simply been that I had the wrong configuration selected when hitting Deploy.
I just applied Update 1 to VS2015 Pro and am now getting the exact same error. It happens regardless of whether I make a new project or use my old 2015 Project. Looks like it's a bug in the update.
Not really a fix, but I went back to Visual Studio 2013, as it does not have this bug, and driver dev is working great.
I had the message:
Please select a valid target machine for deployment from the project property page
I was using the wrong architecture in the configuration properties for the project. My target test box is x64 and I had my configuration set to win32. Changing this to x64 fixed the issue for me.

Getting "The document was created using an evaluation version of activereports"

I am using ActiveReports6 for my windows forms application
When I install it on my machine providing serial key it works perfectly fine.
But when I don't install it, it shows this red line in the bottom of the report
The document was created using an evaluation version of activereports..
My understanding may not be correct, but what I tried is I installed licensed version of ActiveReports6 to my computer and then copied all the dlls generated for ActiveReports6 from GAC and added them to my project thinking now they will work on any machine as they are generated by licensed version of the software.
And then uninstalled Activereports6, but when I tried it still gave me the same evaluation version message.
So is it mandatory that active reports has to be installed in all the machines where I deploy my client? Or I did something wrong
The license for development. You would install activereports, create your reports and build your application on the licensed machine, the VS compiler will automatically check the licensed components and include the license within your application. You do not need to install ActiveReports itself on your client, only make sure that you are deploying the ActiveReports assemblies with your application. if you are having any issues please contact us at http://activereports.grapecity.com and we would gladly resolve the issue for you.
Found the mistake I was doing.
Actually I had put licenses.licx file in the subdirectory of the project while it should be in the same directory of the project and so I was not generating its exe.licenses file and so did not work.
Once I changed the location of licx file it worked!
Thanks!

Include drivers with application installation

I have created an application in C# that relies on a specific driver (a custom virtual hid driver based on VMulti).
Currently, I have everything working and I want to combine both the application and driver into one installation package. As of right now, my application part has a .exe file and a .dll file. My driver has an .inf and .sys file, hidkmdf.sys, and WdfCoInstaller01009.dll (this dll is from the WDK). I am not able to install the driver through the traditional method of right-clicking the inf and clicking install. Instead, I use devcon to install it (command is "install inffile.inf hardwareid")
I tried using InstallShield LE, but I am only able to install the application, not the driver. After doing some searching, I found people using DIFxAPP to create the installation framework for drivers, however, I am not sure if this can be integrated into InstallShield so that the driver is installed during the application installation process.
So my main question is: What is the best and simplest method for combining application and driver installation into one package (meaning the setup.exe will install both the driver and the application)?
I am very new to driver development and application deployment, so any suggestions are welcome.
Thank You
EDIT: It is preferred that the solution does not require any paid tools.
Acctually, exists a many ways to implement this which depends on your Windows Installers skills.
You didn't specify target OSes for your application, that's why can I give you some ways:
PnpUtil.exe internal Windows 7 utility (only for Windows 7)
DPInst.exe included to WDK
DifXAPI merge module.
You can install drivers with help of all these utils via Custom Actions.
NOTE: That your driver SHOULD BE signed, otherwise you will receive error during silent installation.