SFX archive created with 7zip (7zS.sfx) triggers program compatibitity assistant - windows-7

Today I created an SFX archive running a custom embedded program (not really an installer).
It works quite well in Windows 10.
When I run it from Windows 7 and close the embedded program window, I obtain the following error message : I get an error "This program might not have installed correctly".
How can I fix this ?
Note : I checked this thread, but could not test the sfx OS Major Version modification because PE Tools was detected as a virus : How to do Vista/UAC aware self-extract installer

Related

Compiled Visual Basic Application gets Runtime Error 52 in Windows 8

The application that I compiled via Visual Basic 6 can run on my Windows XP computer. But when I execute the same executable on my other computer that runs Windows 8, I always get Runtime Error 52-Bad File name or number as soon as I launch it. I can't run the program even if there is no "Shell command" in that program which leads to a "Bad file name" error.
I used "Package and Deployment wizard" for the packaging process.
And also I registered the needed DLL's on the Windows 8 PC manually via the regsvr32 command line utility.
I also cleaned the whole registry via a registry cleaner (Wise Registry Cleaner). I used compatibility mode for Windows XP but nothing solved the problem.
Additional informations:
XP Version - SP 2
Windows 8 Version-8.1
VB - VB 6.0
Assuming that your code is
If Dir("C:/file.txt") = "" Then...
Change it to a backslash ("\")
After some research I found the answer for the problem. That was not a problem in the coding; it was ALL about windows 8 compatibility.
Go to the “Compatibility” tab of the properties window of the file and select “Windows XP SP2” under the “Compatibility mode”. That’s all
Windows 8 no longer allows you to write programmatically in the root of drive C:\ (and in many others 'system' folders like Program Files, Windows, System32, ...).
Try to use a sub-folder.

Qt Installer Framework : Error during installation process on another computer : d3dcompiler_47.dll (access denied)

I have a problem with Qt Installer Framework. I generated an installer with Qt Installer Framework. I reused the "examples/tutorial" from Qt 5.0.3. I added all my files (exe, dlls, data, ...) in "packages/in com.vendor.product/data" directory. I used windeploy in order to have all dlls needed. I generated an offline installer in command line.
Everything works in my computer (Window 10 / US). I can install/uninstall my application and launch my application through a shortcut on the desktop. Everything is ok here. Thank you Qt.
But when I want to install my app through my installer on a another computer, I have this following error : "Error during installation process (com.vendor.product): Error while extracting 'installer://com.vendor.product/0.0.0.bin.7z': Could not open file C:/Users/Username/MyApp/bin/d3dcompiler_47.dll (access denied)"
ps: all computer are Windows 10 the difference is the language : My computer is Windows 10 / US and the other computer is Windows 10 / French.
Does someone can help me?
qt installer error:
You might need to use elevated operations. Something like:
Component.prototype.createOperationsForArchive = function(archive)
{
component.addElevatedOperation("Extract", archive, "#TargetDir#");
}

External makefile in Atmel Studio won't build. Windows error 0xc0000142

I downloaded bitcloud, the atmel zigbee stack and I am trying to compile one of the default applications, ZLLDemo.
It is located currently at:
C:\Users\Ryan\Desktop\BitCloud_MEGARF_3_1_0\Applications\ZLLDemo\atmelStudio_projects\ATmega256RFR2.cproj
Everytime I try to compile the application I get a windows message screen for "mkdir.exe" error 0xc0000142. In the Output screen I see the line "make: *** [directories] Error -1073741502"
This same error and error code occurs later in the build process for cp.exe if I manually make the folders myself.
I have tried the following things to fix the error:
Change folder and contents to different owners, everyone having full
privileges
run make command manually from a command prompt window as admin
clean solution before retrying
all other examples files
ran directly from C: as "C:\BitCloud_MEGARF_3_1_0\Applications\ZLLDemo\atmelStudio_projects\ATmega256RFR2.cproj" - as per general suggestion for the windows error I tried
"sfc /scannow" in case mkdir had somehow been corrupted
Changed AppInitDLLs Reg key to 0 to load all DLLs at start of application
Disabled Internet security
Does this have a general fix or is there perhaps something else at work here? General compilations work, its just external ones. My friend did the same and it seems to work just fine for him.
Windows 8.1
Atmel Studio 6.2
Avrfreaks had a solution that I finally found here.
Their solution is to download an old version of the msys file for winavr. Which means that their is something more than likely wrong with the latest version of winavr for windows 8.1
sebastor wrote:
I found solution.
Copy this file:
http://www.madwizard.org/download/electronics/msys-1.0-vista64.zip
to utils\bin directory (WinAVR)

How to install tbb_dedug.dll in VS2010 Windows 7?

I am trying to run openCV code with VS2010 Windows 7 Ultimate cpu intel CORE i3 but it shows the following error:
The program can't start because tbb_dubug.dll is missing from your computer
I downloaded Intel TBB 4.0 and I copied all files from folder tbb40_233oss/bin/intel64/vc10 to opencv/build/common/tbb/intel64/vc10, But when I run my code it shows the same error. So, I copied tbb_debug.dll to the Debug folder in my Project, But when I run my code it shows the error
TestHist\Debug\tbb_debug.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support.
How do I install tbb_dedug.dll in VS2010 Windows 7 ?
Just try to download the files from intel directly. Find them with google then copy the tbb_debug.dll in the same directory where your executable is.

packaging air application with air runtime in one installer - windows .exe

I've been approved to distribute the adobe air run time. I've been able to a packaged .dmg file without any problems, now I'm trying to create a package of my application with the runtime for windows.
I've followed the same instructions and the windows installer (MyApp 2.0 Installer.exe) is working properly when I double click it form the installer directory that I created.
Now I'm trying to package everything from that directory into one .exe file. I've tried using the standard windows Iexpress, but it doesn't seem to work properly.
I'm just wondering how I should go about creating the final .exe file.
It's easy enough, but you need a license from Adobe to be able to distribute Air with your application. Personally, I'm not a fan of distributing Air in the installer because of the extra filesize it adds.
Here's how you can create a native .exe installer:
Install the SDK:
If you haven't already done so, download the AIR SDK and extract it to C:\AIR
Hit Win+R, and type control.exe sysdm.cpl,System,3 - press OK
Click Environment Variables...
In the lower pane (System variables), find Path and click Edit...
On the end, add ;C:\AIR and hit OK all the way out
Compile:
Open a Command Prompt window, and cd to the location of your .air file
Run this command:
adt -package -target native "Output file.exe" "Input file.air"
N.B.:
You must use ADT on the same operating system as that of the native installer file you want to generate. So, to create an EXE file for Windows, run ADT on Windows. To create a DMG file for Mac OS, run ADT on Mac OS. To create a DEB or RPG file for Linux, run ADT from the AIR 2.6 SDK on Linux.
Just as your .air file can be signed, your .exe file can be signed too
For more information, see the Packaging a desktop native installer article on Adobe's website

Resources