Goto JR Software for detailed information about Inno Setup
– Command-line options for Inno Setup
For every 1603 in the World
Goto JR Software for detailed information about Inno Setup
– Command-line options for Inno Setup
In the ‘Setup.log’ file, usually found in the installation source folder, system folder or root drive, locate the ‘ResultCode’ line.
[InstallShield Silent]
Version=v7.00
File=Log File
[ResponseResult]
ResultCode=0
[Application]
Name=Microsoft Windows Application
Version=1.2.2.0
Company=Microsoft
Lang=0409
List of InstallShield install Return Codes or ‘ResultCodes’ if you will:
Success:
0
Errors:
-1 General error
-2 Invalid mode
-3 Required data not found in the Setup.iss file
-4 Not enough memory available
-5 File does not exist
-6 Cannot write to the response file
-7 Unable to write to the log file
-8 Invalid path to the InstallShield Silent response file
-9 Not a valid list type (string or number)
-10 Data type is invalid
-11 Unknown error during setup
-12 Dialogs are out of order
-51 Cannot create the specified folder
-52 Cannot access the specified file or folder
-53 Invalid option selected
Source: IT Ninja
Goto Microsoft for detailed information about Windows Installer
– Command-line options for Windows Installer
– A collegue – And a good friend of mine
Change the “Computer” or “This PC” to %COMPUTERNAME% in a Task Sequence.
Use SetACL, by Helge Klein, to change owner, set appropriate permissions on the registry key and after changing the registry key, releasing the key back to the system.
Place the appropriate SetACL.exe and the script below, together with the registry key and execute from TS.
"%~dp0setacl.exe" -on HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D} -ot reg -actn setowner -ownr "n:S-1-5-32-544"
"%~dp0setacl.exe" -on HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D} -ot reg -actn ace -ace "n:S-1-5-32-544;p:full;s:y"
..
..
"%~dp0setacl.exe" -on HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D} -ot reg -actn ace -ace "n:S-1-5-32-544;p:read;s:y" "%~dp0setacl.exe" -on HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D} -ot reg -actn setowner -ownr "n:S-1-5-18"
This script has only been tested on Windows 7, x64, through a TS
Return all the users groups, without installing Microsoft Remote Server Administration Tools (RSAT), Active Directory Module for Windows PowerShell.
Function Get-AllUserGroups
{
[cmdletbinding()]
param()
$Groups = [System.Security.Principal.WindowsIdentity]::GetCurrent().Groups
foreach ($Group in $Groups)
{
$GroupSID = $Group.Value $GroupName = New-Object System.Security.Principal.SecurityIdentifier($GroupSID)
$GroupDisplayName = $GroupName.Translate([System.Security.Principal.NTAccount])
$GroupDisplayName
}
}
Thanks to KFR for this example
Goto Andrew Barnes Blog about ‘scripting and deployment’
– Though, not 100% up to date information, still very usefull
Goto Microsoft website about Registry Redirector
– Essential for understanding the Windows x86/x64 conundrum
Goto Johan Arwidmark blog about Deployment
– Get all your SCCM tips and tricks from the master himself
Goto AIO Testking to get information about certification exams
– You’ll find them all here
Goto Microsoft website about Signing Drivers
– Helpfull tools when working with Windows x64
Goto Microsoft TechNet website to download ‘Mouse without Borders’
– Reach across your PC’s as if they were part of one single desktop
Goto Group Policy Central for information about Group Policies
– Everything you need to know about Group Policy
Goto MSI Windows Installer website for ‘Application Packaging’
– All about ‘Public and Private Cloud Application Packaging, Manual MSI packaging, Virtualization, Distribution & Deployment, Scripting, Packaging Tools’
Goto CSI Windows for an article about ‘MsiLockPermissions’
– Use the Lock Permissions table, build-in MSI files to apply file and folder access
Goto IT Ninja for an article about ‘ActiveSetup’
– The mystery about ActiveSetup is resolved!