cab

ActiveX not working on client machine

本秂侑毒 提交于 2020-01-24 04:35:15
问题 I'm trying to run activex control for a simple hello world message box. First i created the class library and i have now the dll , then i created the HTML page and called the activeX control : <!DOCTYPE> <html> <head> <title>DemoActiveX</title> </head> <body> <OBJECT id="DemoActiveX" classid="clsid:400DCE17-4B26-4E59-9A88-AF39E2BE4A55"> </OBJECT> <script type="text/javascript"> try { var obj = document.DemoActiveX; if (obj) { alert(obj.SayHello()); } else { alert("Object is not created!"); }

Silverlight Prism Module Not Ready

允我心安 提交于 2020-01-06 06:49:33
问题 I'm building a Silverlight 4.0 application with Prism (a.k.a. Composite Application Guidance). I have two modules, both defined in my ModuleCatalog.xaml as WhenAvailable . My Application_OnStart instantiates my Bootstrapper and invokes it's Run() method. Well after my application is started and up and running (in fact, the user has to click a button in the UI), I then attempt to load the modules: foreach (ModuleInfo mi in moduleCatalog.Modules) ... Type moduleType = Type.GetType(mi.ModuleType

C#/.NET: Creating a CAB and adding files to it without an external library

丶灬走出姿态 提交于 2020-01-03 19:02:17
问题 I'm aware there is a similar question but the marked answer provides a link to an external library which requires several dependencies to be installed on the user's machine. I don't need extraction or anything else fancy like listing files - I only need to add the entire contents of a folder to a single cabinet file. I know cabinet.dll exists in the \Windows\System32 folder and I'm hoping there's a simple way to interact with this DLL to achieve what I'm trying to do. Is it possible to do

C#/.NET: Creating a CAB and adding files to it without an external library

∥☆過路亽.° 提交于 2020-01-03 19:02:03
问题 I'm aware there is a similar question but the marked answer provides a link to an external library which requires several dependencies to be installed on the user's machine. I don't need extraction or anything else fancy like listing files - I only need to add the entire contents of a folder to a single cabinet file. I know cabinet.dll exists in the \Windows\System32 folder and I'm hoping there's a simple way to interact with this DLL to achieve what I'm trying to do. Is it possible to do

C#/.NET: Creating a CAB and adding files to it without an external library

放肆的年华 提交于 2020-01-03 19:01:11
问题 I'm aware there is a similar question but the marked answer provides a link to an external library which requires several dependencies to be installed on the user's machine. I don't need extraction or anything else fancy like listing files - I only need to add the entire contents of a folder to a single cabinet file. I know cabinet.dll exists in the \Windows\System32 folder and I'm hoping there's a simple way to interact with this DLL to achieve what I'm trying to do. Is it possible to do

Reboot on installation of .CAB WM

被刻印的时光 ゝ 提交于 2019-12-25 04:23:13
问题 On a Windows Mobile 6 or CE 5 device, I need to install a CAB file and then initiate a reboot. I am aware of custom actions. You need to create a setup.dll for the CAB file in native C++. So I have the following code already made codeINSTALL_EXIT Install_Exit(HWND hwndParent, LPCTSTR pszInstallDir, WORD cFailedDirs, WORD cFailedFiles, WORD cFailedRegKeys, WORD cFailedRegVals, WORD cFailedShortcuts) { MessageBox(hwndParent, _T("A reboot is required to complete installation, Press OK to reboot.

Adding an external CAB to an MSI with an internal one

与世无争的帅哥 提交于 2019-12-24 20:46:04
问题 I have a visual studio installer (vs2015) that installs an application. I want it to also install a set of configuration files, the contents of which vary by physical install location, that will be delivered as a cab file in the same directory as the msi. The cab has a known set of files that will be distributed across 2 folders in the install location and is created by a different project than the installer. How do I get the msi to install both its internal contents and the contents of the

Simple example to add files to CAB archive

坚强是说给别人听的谎言 提交于 2019-12-23 16:46:55
问题 I read this post about replacement of CABARC utility. Microsoft help is covering a lot of options in here. I need simple example how to add 2 files to CAB using makecab.exe utility. Something like this. makeCAB.exe file1.dll file2.INF result.cab 回答1: Create Directive file CABMaker.ddf ;*** MAKECAB Directive file .Set Cabinet=on .Set Compress=on file1.dll file2.INF Run C:\WINDOWS\system32\makecab.exe /F CABMaker.ddf 来源: https://stackoverflow.com/questions/24367099/simple-example-to-add-files

SmartDevice CAB “is not a valid Windows CE Setup file”

拥有回忆 提交于 2019-12-23 12:22:43
问题 (This can be considered a follow-up on my question here.) After successfully building a CAB setup file for my handheld WCE5 device, (a Datalogic Memor laserscanner) I went on to try and install it. However, upon starting the CAB, the device throws me the following error message: The file "\Setup.CAB" is not a valid Windows CE Setup file I have no idea why it's saying this, especially since I made the CAB file using VS08's "Smart Device CAB Project" template. Is there some setting I missed

Install CAB file from FireFox or command line

随声附和 提交于 2019-12-22 00:24:18
问题 I have a CAB file that contains a few DLLs, and an OCX ActiveX control, an OSD describing the contents, and an INF for installing the DLLs and ActiveX control. These are coming from a 3rd party, so I can't control anything except how they are distributed to the client. They are being used within a Java applet, and they work cross browser, but only IE seems to support actually installing the CAB file. The installation is being done via: <OBJECT classid="clsid:actual-class-id-here" NAME="name"