So currently my users download a zipfile, unzip it and then run setup.exe - I would like them to do this with one click. Using -7Zip-to-Create-Self-Extracting-excutables i can make a self-extracting exe, but it doesn't actually run the installer.
First of all I now realize that not only do self-extracting zip start extracting with doubleclick, but they require no extraction application to be installed on the users computer because the extractor code is in the archive itself. This means that you will get a different user experience depending on what you application you use to create the sfx
Anyone can advise me to solve this problem. I am trying to install autodesk plant design suite. It only shows the self-extract progress then disappear without any further installation. Can you please help me?
Hello Marwan.1988 and welcome to the community! This could be due to a bad download or that antivirus/firewall is blocking the isntaller and needs to be turned off. Follow this isntallation workflow and then redownload fromt he virtual agent:
The installer DOES NOT ask for a password in order to install, it just proceeds with the installation. The installer has an embedded encrypted archive in it, but if started by double clicking the installer, no password is requested from the user.
Upon trying to "open" it with 7-Zip as an archive, bypassing the executable part of the file and just trying to open the ZIP archive part, it asks for a password. This question is NOT about bypassing or cracking the encryption, but about finding out an already available password/encryption key. Since the password/encryption key is embedded inside the executable, this is encryption serves the purpose of obfuscation for the archived files and not for actual confidentiality.
How can I find that password? Since the installer is local and doesn't need an internet connection, the password must be in the .exe file and somehow passed as an argument to the ZIP decryption module.
Here are some similar examples of self-extracting without the user having to input the password themselves; my goal is to extract that password:Archive Sidestepping: Self-Unlocking Password-Protected RAR, Attackers switch to self-extracting password-protected archives to distribute email malware
ZIP files are encrypted with AES-256, and the key is derived using a slow key-derivation function (KDF), which makes bruteforce and dictionary attacks generally infeasible. There are no currently known ways to bypass the encryption.
Though less common a situation than it once was, occasionally you'll send a ZIP archive to someone whose computer cannot open the file. When that happens, you can send a self-extracting PKSFX archive instead: it has a .exe file name extension (instead of .zip, for instance), and it can be extracted just by executing it, even by someone who does not have or another ZIP utility. (PKSFX archives are also called SFX files, for short.)
Create a PKSFX archive in exactly the same way that you create an ordinary archive. The only difference is that, when you are done adding files, you save the archive as a PKSFX .exe file instead of as a ZIP file or other archive type.
You can set options for PKSFX files just as you can for compressing or extracting. Set options on the PKSFX page of Compression options. The options you set on this page apply to any new PKSFX files that you create. (A PKSFX file that you create as a copy of an existing PKSFX file gets its options from the original file, not from the settings on the PKSFX page. See here for information.)
Practically speaking, the maximum size of a PKSFX file is 2 GB. This is the largest size executable that Windows and most other operating systems can load. If you create an unsplit PKSFX file larger than 2 GB, you probably will not be able to run it.
When a PKSFX file is run, it extracts its contents according to the PKSFX options that were set when the file was created. If the type of the archive is RegularSFX or EasySFX, a dialog displays before extraction to allow the user to change or disable PKSFX options set for the archive.
You can also open a PKSFX file in PK Protect and extract its contents from there: In PK Protect, choose Open to open the archive. Then use any of the usual methods to extract files from the archive. (When you extract files this way from a self-extracting archive, its PKSFX option settings are ignored.)
The self-extracting encrypted archive file will now be created and appear in the same location as the folder you encrypted. The self-extracting encrypted archive file will only run on a Windows computer. So whomever you are sending this file to needs to have access to a Windows computer so they can double-click on the file to extract its contents.
Do not communicate the password to the receiver of the self-extracting encrypted archive file using the same medium which you used to send the file to them. For example if you emailed the file to them, do not also put the password to the encrypted file in the same email or even in a separate email. Communicate the password using a different medium such as via phone, fax, or in-person.
I am an IT professional and we have just rolled out 250 or so laptops to our offices around the world. The laptops were shipped by the manufacturer with an incorrect BIOS setting (SATA operations set to Raid rather than AHCI) which means that some recent driver updates from the manufacturer has rendered them unstable. (They are bluescreening regularly with an error with the iAstorA.sys driver.)
Our best fix option is to get USB flash drives to them, as we have streamlined our rollout process to be basically self configuring for the users. The logistics of getting the physical USB drives around the world is a nightmare though - much better if we can provide somewhere the users (employees) can download them.
However, having to use a tool like Rufus will freak them out. I need a way that they can download a single file from the web which when run will prompt them to insert a USB stick, and then burn the bootable USB image to it.
A challenge that may arise when trying to use modern deployment techniques with Windows 10 is the need to deploy applications that have complex installation methods. These methods may use setup.exe's that call .msi files or have multiple files or folders. When creating a provisioning package with Windows Configuration Designer (WCD) to join a device to Azure AD you can specify applications to install during the provisioning wizard, however these applications must be a single file. These could also be .bat, .cmd, etc. files, but again, can only be a single file.
7-Zip is a free, open source application that allows for creating self-extracting installers in an .exe format. It allows for repackaging without having to install the application on a reference machine and capture the differences into a MSI file like most repackaging solutions. These self-extracting .exe files can be deployed during the provisioning of a device.
Note: If you're looking for a more efficient way to include Office 365 ProPlus CTR into your provisioning package, use the Office Install Toolkit, which will give you the ability to customize your office install and download the bulk of the installation files to reduce the amount of bandwidth your devices will use during provisioning.
The content of the config.txt file needs to be in a certain format. The below example is for Office 365, but for your installer you'll need to get the execute file (this could be a setup.exe, or even a .cmd file or some other extension) and whatever the parameters are.
Option 1 is easy, however option 2 is a better test since the provisioning process uses the system context. Use option 1 first just to validate that the exe works. But use option two to make sure it works in the system context. If both tests work, then there's a high likelihood it will work in the provisioning package.
Testing with option 2 requires the use of psexec to create a command prompt in the system context. This will allow for validation of the application as system, which is the context Intune and the provisioning process will use to install the application.
Once the installation is complete, you should be at the lock screen. Dismiss the lock screen and login with an Azure Active Directory Account. If everything succeeded, you should see Office 365 ProPlus installed on the device.
I'm a sysadmin for a SMB who is getting ready for the deployment of Windows 10 in the business. I've been doing a lot of reading about WCD and am excited at the possibility of getting away from Sysprep and imaging. I've created a provisioning file with 4 applications, 2 are msi, and 2 exe (MS Office 2010 and Shoretel Communicator). The MSI files provision properly but the exe packages using your method here do not. I have used both options above for testing and they install just fine. I have tried several times and rechecked everything but can't figure out why they won't install. Can you think of anything else I could try?
You also may want to try testing your application as system. You can do this by using psexec from sysinternals. You can download psexec from live.sysinternals.com , select psexec and once downloaded, use psexec -sid cmd to open a cmd prompt as system. From there, try to run your installer and see if it installs successfully.
Fantastic article! But I'm also having problems with the 'CleanPCWithoutRetainingUserData' option.
Specifically I get an error from 7-Zip that states "Can't load config info".
I don't have these issues when not using Clean PC.
Did you ever discovery a remedy for this?
This post won't be specifically about AutoIt, but I couldn't find a comprehensive tutorial online about the topic. I would like to share what I learned after several hours (might be a bit more ) of searching/reading forums, and a lot of trial and error. I hope you will find it informative.
I am working on an MS Excel xlsm file that doesn't require anything special other than a certain folder structure with certain files (only if you would like to use certain features) inside. However, the management might become cumbersome for certain aspects. Therefore, I used AutoIt (for the first time about couple of weeks ago) and developed some helper scripts which are completely optional. One of those scripts is my installer script. Basically lets you choose install location, has options for "Use AutoIt Scripts" - "Add Registry Association" and "Extension Type" ( I won't go into detail here as it is not the topic of this post).
795a8134c1