(null) is not a valid win32 Application - installshield-le

I have created a winform application in visual studio 2012 on windows 7. I then created InstallShield project to create setup of this winform application. I run this setup on windows7/xp other than the development machine but i got the following error:-
(null) is not valid Win 32 application.
What iam doing wrong? Setup is working/running fine on development machine but not on other machines when running on windows 7/XP. Please help
Thanks in advance.

Related

Unknown error when publishing standalone WPF Net core 5 application from Visual Studio 2019 for linux x64

I'm trying to create a WPF Net Core 5 app from Visual Studio Community 2019 on Windows and publish it with standalone deployment mode (runtime included) for use on linux X64 without having to install the runtime on the target. When publishing, Visual Studio shows an error. Reviewing the log, "The source of the problem could not be determined."
If I select "Framework Dependent" deployment mode it works correctly.
What can be the error?
Thanks.
If I select "Framework Dependent" deployment mode, it works correctly. But I try to avoid installing the runtime on the destination.
WPF is a Windows-only technology, it won't run on Linux. Some cross-platform alternatives that are similar enough are MAUI and Avalonia.

visual studio 2012 - publish windows forms app for windows 8.1

I created a very simple windows form app in visual studio 2012 on a Windows 7 machine that has been working on Windows 7 for a few years with no issues. The user upgraded to Windows 8.1 recently and when I tried to install the app, there is no error message but it doesn't work. It appears to install and creates the desktop shortcut but the application won't launch. What I can I do to make it work on Windows 8.1? I've tried using the 'run application made for previous versions of windows" but the app doesn't appear on the list and I can't seem to find the location when I try to browse to it. It seems like it should be a simple fix but I'm very inexperienced and need some help. Any suggestions are greatly appreciated.

Windows phone 8.1 Emulator launching issue

While launching the sample application in windows phone 8.1 emulator I am getting this error.
**Error 1 Error : DEP6100 : The following unexpected error occurred during boostrapping stage 'Connecting to the device':
SmartDeviceException - App deployment failed. Please try again. AccelerometerCS.WindowsPhone
Error 2 Error : DEP6200 : Boostrapping 'Emulator 8.1 WVGA 4 inch 512MB' failed. Device cannot be found. App deployment failed. Please try again.
AccelerometerCS.WindowsPhone**
Any possible solutions?
Thanks in advance.
I have had the same problem and have found a solution that might work for you as well. Here is what I did:
close Visual Studio
open Hyper-V Manager
delete all Windows Phone Emulator VMs
in the Virtual Switch Manager (link is located in the navigation bar
on the right) delete all Windows Phone related virtual switches
open Visual Studio and try to deploy the application again (Visual
Studio will create a fresh virtual machine for you)
I hope that helps.
Based on a quick search and Sumesh Thomas's blog, you might be trying to deploy a Windows Phone 8.1 app to a device with older version of Windows Phone (probably 8.0).
That won't work. Windows Phone apps targeting Windows Phone 8.1 need that version of OS as a minimum requirement.
Also, another possibility is that there's a pending Windows Update reboot which is causing the issue when deploying to emulator. According to the provided link, getting the latest updates from Windows Update and rebooting your machine might help.

App deployment failed, invalid pointer Windows 8 phone SDK

I am using windows phone sdk 8 and visual studio 2012 in windows 8 pro. When i run my application it give this error that application deployment failed and emulator gets shut down. What is solution for that please tell me. Thanks
1- Press (HOME+W) and search for "turn windows features on or off"
2- deactivate the hyperV of ur system
3- apply and ur system will restart
4- activate hyperV again

Visual Studio 2012 can not start kernel mode debugging but Windbg can

I'm trying do deploy and debug my kernel driver.
Host: Win7 Prof, 64-bit
Guest (VirtualBox): Win7 Prof, 64-bit Checked / Win7 Prof, 32-bit
I followed many tutorials but without success.
Vistual Studio claims:
Unable to attach to the process
and
Windows Debugging Extension for Visual Studio
Failure to create process instance prevents debugging
In the other hand Windbg can connect to the VM (with the same configuration) but only during restart of VM.
I'm totally frustrated because no single solution helped.
For eg.:
http://www.codeproject.com/Tips/545835/Kernel-Mode-Debugging-in-a-VM-using-Visual-Studio
http://msdn.microsoft.com/en-us/library/windows/hardware/hh439359%28v=vs.85%29.aspx
I've tried to provision my machines but every time it fails at
Installing .NET Framework (possible reboot)
and
Installing driver test framework
What's more, when configuring new sample project in Visual Studio (NDIS sample driver) then I'm forced to add additional includes because it won't compile but as far as I know it should compile (plain sample project) without any additional configuration.
I had the same error when I ran Visual Studio 2012 non-elevated. Choosing "run as administrator" fixed it.

Resources