If you don't use automatic client update, and update clients with another mechanism, make sure to update the version of ccmsetup. An older version of ccmsetup may not properly validate the new SHA-2 code signing certificate on client binaries. For example, if you copy ccmsetup.exe to a file share, or use ccmsetup.msi with group policy.
If you haven't extended the Active Directory schema, or you're installing clients from another forest, use group policy to provision installation parameters for CCMSetup.exe. For more information, see How to provision client installation properties.
To download the source files, the client computer needs to communicate with a distribution point or a management point. Unless you specified CCMSetup.exe with the following command-line parameter: ccmsetup /source
Here's the documentation. Be aware that the __import__() function with variable data isn't detected by PyInstaller, so you should just use import ..., and then PyInstaller will add the dependencies so that they are used in the .exe file.
If you do not run adprep.exe command separately and you are installing the first domain controller that runs Windows Server 2012 in an existing domain or forest, you will be prompted to supply credentials to run Adprep commands. The credential requirements are as follows:
Beginning with Windows Server 2012, you can install AD DS using Windows PowerShell. Dcpromo.exe is deprecated beginning with Windows Server 2012, but you can still run dcpromo.exe by using an answer file (dcpromo /unattend: or dcpromo /answer:). The ability to continue running dcpromo.exe with an answer file provides organizations that have resources invested in existing automation time to convert the automation from dcpromo.exe to Windows PowerShell. For more information about running dcpromo.exe with an answer file, see
Start with adding the role using Windows PowerShell. This command installs the AD DS server role and installs the AD DS and AD LDS server administration tools, including GUI-based tools such as Active Directory Users and Computers and command-line tools such as dcdia.exe. Server administration tools are not installed by default when you use Windows PowerShell. You need to specify "IncludeManagementTools to manage the local server or install Remote Server Administration Tools to manage a remote server.
The following table lists arguments for the ADDSDeployment cmdlets in Windows PowerShell. Arguments in bold are required. Equivalent arguments for dcpromo.exe are listed in parentheses if they are named different in Windows PowerShell.
AD DS can be installed in Windows Server 2012 by using the Add Roles Wizard in Server Manager, followed by the Active Directory Domain Services Configuration Wizard, which is new beginning in Windows Server 2012. The Active Directory Domain Services Installation Wizard (dcpromo.exe) is deprecated beginning in Windows Server 2012.
The credential requirements to install AD DS vary depending on which deployment configuration you choose. For more information, see Credential requirements to run Adprep.exe and install Active Directory Domain Services.
On the Preparation Options page, type credentials that are sufficient to run adprep. For more information, see Credential requirements to run Adprep.exe and install Active Directory Domain Services.
When it comes to the .exe format type of installer, compared to the MSI, there is no standard process regarding silent install parameters. These parameters will vary depending on the software that was used to create the setup installer.
To trigger a silent installation of a setup.exe with Advanced Installer, you need to use the /exenoui install parameter. Besides setting the install display level of the main setup, this parameter also controls the display level of the MSI or EXE packages included as prerequisites in a bootstrapper Advanced Installer project.
Auto PY to EXE is an amazing application for making .exe file out of your project whether it is one .py file or any number of them.The application has a nice gui and looks like this:
Pretty simple. When choosing "One Directory" option "Auto PY to EXE" will put all dependencies in one folder. You can choose Output directory in "Advanced" menu. If you have media files like icons and backgrounds you shouldn't have any problems using them inside your .exe if you place media files/folders in the Output directory.Something like this:
When choosing "One File" option "Auto PY to EXE" will create one .exe file containing all dependencies but NOT MEDIA FILES. If your program has only default Windows gui with no icons, backgrounds, media files or you are OK with placing media folder near .exe file feel free to skip the following explanation. For those who want to pack media files into .exe file itself read paragraph 3.
There is a menu in "Auto PY to EXE" called "Additional Files" that lets you add files of your choice. There is a catch though. "Auto PY to EXE" uses pyinstaller which unpacks the data into a temporary folder and stores this directory path in the _MEIPASS environment variable. Your project won't find necessary files because the path changed and it won't see the new path either. In other words, if option "One File" is chosen picked files in the "Additional Files" menu will not be added to .exe file. To work around this you should use this code provided by developer of Auto PY to EXE here
This way you should have single .exe file. If you had a need and if done correctly your .exe file will be packed with all media inside it. You will not need any media files/folders present with .exe file for it to display them properly.
That would be amazing and a super easy solve. Problem: I cannot find the config.py in the folder that was created by PyInstaller. Actually I can't find any of the modules I import. Are they merged into the .exe file?
Can you please suggest on how to do this? I have converted the python codes to exe using pyinstaller. I kept the input python file wthout converting to .exe so that the main exe can read from it. But when i change the values in the input python file I have to again use pyinstaller and do the convertion of main python file.
My question is - once the script is converted to .exe and distributed to the users (who will save and launch from the desktops), do they need to have anything else installed, or is the .exe truly fully self contained?
Hi! To use .exe an end user doesn't need anything. Once it's .exe and not .py format your script should be usable without any additional software. Check for correct paths if you're opening smt inside your program.
If you are downloading the JDK installer for 64-bit systems for update 9 Minor 1, Security 1, and Patch 1, then the file name jdk-9.minor.security.patch_windows-x64_bin.exe becomes jdk-184.108.40.206_windows-x64_bin.exe.
If you are downloading the JRE installer for 64-bit systems for update 9 Minor 1, Security 1, and Patch 1, then the file name jre-9.minor.security.patch_windows-x64_bin.exe becomes jre-220.127.116.11_windows-x64_bin.exe.
In a browser, go to the Java SE Development Kit 9 Downloads page and click Accept License Agreement. Under the Download menu, click the Download link that corresponds to the .exe for your version of Windows.
The following table lists example installation scenarios and the commands required to perform them. The notation jdk stands for the downloaded installer file base name, such as jdk-9_windows-x64_bin.exe.
Run installChocolatey.cmd from an elevated cmd.exe command prompt and it will install the latest version of Chocolatey. You can not run this from powershell.exe without making changes to your execution policy.
Review the supported command line flags table to determine the flags you need to accomplish your command line installation task.From a command prompt or PowerShell window, run the msiexec.exe installer program with the appropriate flags, using the following syntax:
Review the supported command line flags table to determine the flags you need to accomplish the command-line installation task.From a command prompt or PowerShell window, run msiexec.exe with the appropriate flags and add AGREETOLICENSE=yes /quiet to the end of the command string, as follows:
An MST file or transform file is a settings file used by the Microsoft Windows Installer (msiexec.exe), a Windows operating system component that enables software installations. A transform is a collection of changes applied to an installation. The installer can add or replace data in the installation database by using a transform to a base installation package. The installer can only apply transforms during an installation.
You can also enter "%SystemRoot%\System32\msiexec.exe" /XINSERT-APP-ID/qn as the uninstall command. See How to find install/uninstall parameters for more information on finding the uninstall commands for EXE installers.
Silent Installation:The KeePass installer KeePass-2.xx-Setup.exe supports command lineswitches for silent installation, i.e. the program gets installed withoutasking the user for target directory or association options. The default settingsof the installer are used. 041b061a72