self-extracting

How do I silently install a 7-zip self-extracting archive to a specific directory?

﹥>﹥吖頭↗ 提交于 2020-01-30 19:37:12
问题 The Ruby Devkit is a 7-zip based self-extracting archive. I would like to invoke it silently without having to install 7-Zip to extract the files to a folder of my choosing, so that I can script the installation. I imagine it to be something like: cmd> DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe /silent /dir="C:\DevKit" But that, of course, doesn't work. What command line flags must I use to silently extract this archive into a folder of my choice? 回答1: try this: C:\> DevKit-tdm-32-4.5.2

How to create self-extracted exe C# .net 4.0

夙愿已清 提交于 2020-01-07 07:27:09
问题 I want to make single exe file that will extract a Folder with a lot of stuff inside. I want this exe to work on computers with .net 4.0 I was trying to decompress embedded zip archive with the folder, but it is not simple with .net 4.0 回答1: You should be able to do this by adding a .zip file to your C# installer project and setting its Build Action to "Embedded Resource." Then, your C# installer program would extract that file from itself using Assembly.GetManifestResourceStream, writing the

How can I self-extract a binary resource (executable) using C++?

纵然是瞬间 提交于 2019-12-24 21:48:10
问题 I need to extract a binary resource (that's in my project) however, I cannot think of any way I can do it, I'm using Windows/C++. How can I do it? (Any help will be appreciated) 回答1: FindResource, SizeofResource, LoadResource, and LockResource are used in concert to gain access to "the file" held in the resource table of the module your reading. A reasonable sample of how to do this can be found at this question, Note that you need to know the resource type and name (or ordinal), to find it

Self-extracting self-checking executable

大城市里の小女人 提交于 2019-12-24 04:48:06
问题 I am distributing an authenticode signed self-extracting executable whose content I control. It contains a mushroom of MSI-based installers that controls a hot swap of a distributed system, so it cannot easily be an MSI itself. It would be nice to have if the executable just checked its own authenticode and refused to self-extract if not signed. I do realize that this provides no real integrity guarantee, but it would reinforce the message that the content is in no way customizable and

How can I identify a WinRAR SFX using a binary signature of some sort?

巧了我就是萌 提交于 2019-12-12 20:02:00
问题 I'm looking for an answer similar to the one in this question, but for WinRAR instead of 7zip. Essentially I want an authoritative signature that I can say at least "All WinRAR generated self-extracting executables created with the Default SFX file in version 420 will have bytes 0x15, 0xa1, 0x45, 0xcc, 0x21, 0x98 at location 0x00027400, and other NON SFX files are unlikely to have this signature". Even better, if the same signature can be found in all versions of the WinRAR SFX files, even if

Creating a selfextracting executable which will copy itself to temp directory on Windows and launch itself

折月煮酒 提交于 2019-12-11 07:07:08
问题 I want to distribute a setup in a self extracting executable form. I want to pack versions for 32 bit and 64 windows. So I have a program which first checks the version of Windows OS running and then launches the correct program. SO I have a directory structure like this DetermineOS.exe Win32\Win32Setup.exe Win32\supporting win32 files Win64\Win64Setup.exe Win64\Supporting win64 files I want to pack them in a bundle called something like install.exe. When the user clicks install.exe it will

Trying to execute self extracting zip file silently in command line

末鹿安然 提交于 2019-12-10 19:01:52
问题 I have these self extracting zip files that I'm trying to extract on 2008/7 machines remotely. But they are coming in a way of .exe and it require user to double click and choose the extractions location. On WinZip support site they saying to use the /auto flag so the command will look like that: C:\deploy\.exe /auto C:\path\\ It starts the process in the task manager but it stuck there foever. When I'm opening the file in text editor it says: !This program cannot be run in DOS mode. So maybe

How to extract WinZip Self-Extracting exe in silent mode

為{幸葍}努か 提交于 2019-12-10 15:59:49
问题 I have create a exe file using WinZip Self-Extractor. It extracts the file in UI mode, that is while dobule click the setup a new window opened that shows unzipping setupname.exe. I need to extract the same exe in silent mode which should not show unzipping UI info. Is it possible to extract the exe using WinZip Self-Extractor in both UI mode and Silent mode ? Please share the steps if available to do this. 回答1: For WinZip you can use the /auto flag followed by the directory you would like to

How does Burn in WiX 3.6 bundle MSI files into an .exe?

有些话、适合烂在心里 提交于 2019-12-07 01:48:39
问题 I'm interested in knowing how WiX is bundling the EXE files created with Burn. I know that creating a self-extracting EXE file is pretty straightforward, having done it a million times in WinRAR. What directory is the EXE file being unpacked to, and how is the installation writing that location into Add/Remove Programs? Also, how is the UX file being kept around for the uninstall? And even more interesting, what goes on during an upgrade? 回答1: Burn doesn't create a typical "self-extracting

How to do Vista/UAC aware self-extract installer

ぐ巨炮叔叔 提交于 2019-12-06 12:51:22
问题 I distribute my software with a WinZip self-extract archive (SFX). I am aware of this and that. But those doesn't seem to work for SFX scenarios. While installing, the SFX unpacks and starts a contained program (written by me), that does the installation. This includes the creation of a registry entry for the programs list under the windows control panel. Further, the program has a manifest. So it should be "Vista-aware". The SFX-executable also includes a manifest. The problem is that the