I am looking for an answer to my question I want to add Open shell software within the setupcomplete file, try several ways I did not succeed in installing the program by VM, Sorry again if I raised my problem here. Open-Shell (Classic-Start) 4.4.191: OpenShellSetup_4_4_191.exe Code: @echo off "%windir%\Setup\Scripts\Apps\?????? cd \ (goto) 2>nul&rd /s /q "%~dp0" del /q /f "%0"
Why not ask your question in the dedicated thread !? [REPO/HOW-TO/CHAT] Audit/Sysprep/Generalize; Setupcomplete/Firstlogon; Silent Install Code: REM Do not show settings in first run Reg.exe add "HKLM\SOFTWARE\OpenShell\StartMenu" /v MenuStyle_Default /t REG_SZ /d Win7 /f >nul 2>&1 REM silent /qb or /qn install only StartMenu and Update ADDLOCAL=StartMenu,Update for /f "delims=" %%i in ('dir /b "%~dp0OpenShellSetup*.exe"') do call "%~dp0%%i" /qb ADDLOCAL=StartMenu,Update REM Copy language setting dll in program folder xcopy "%~dp0fr-FR.dll" "%Programfiles%\Open-Shell\" /q /r /k /y >nul REM import setting "%Programfiles%\Open-Shell\StartMenu.exe" -xml "%~dp0MenuSettings.xml" REM shutdown button setting There set to restart Reg.exe add "HKCU\SOFTWARE\OpenShell\StartMenu\Settings" /v "ShutdownCommand" /t REG_SZ /d "CommandRestart" >nul 2>&1 Edit More info
I was in a hurry to find the answer, don't know what parameter to use (") How do I add your answer into the setupcomplete script, without errors? Please give me a complete answer.
Hello @maargueb I do an sfx install like this: 1 - First of all, install openshell on a virtual machine and configure my preferences, to capture OpenShell.reg 2 - Download the MSI installers 3 - Put everything in a folder and compress with 7z 4 - Then create the SFX with the attached config. I hope it helps you!
I didn't understand how to make sfx install, I need a lot of explanation. I hope this does not bother you. I am not an expert in making silent install
Code: @echo off title OpenShell Installer pushd "%~dp0" if exist %windir%\SysWOW64 ( OpenShellSetup64_4_4_191.msi /qb ADDLOCAL=StartMenu ) else ( OpenShellSetup32_4_4_191.msi /qb ADDLOCAL=StartMenu ) REGEDIT.EXE /S OpenShell.reg exit I want to change the script text to: Is this correct? Code: @echo off title OpenShell Installer pushd "%~dp0" if exist "%windir%\SysWOW64\OpenShellSetup64_4_4_191.msi" /qb ADDLOCAL=StartMenu if exist "%windir%\SysWOW64\REGEDIT.EXE" /S OpenShell.reg exit
No the condition if exists %windir%\SysWOW64 means: if the OS is 64 bits, then do this... otherwise I mean, if it's not 64 bits, then make it 32 bits You can make each package separately, like this: OpenShellSetup64_4_4_191.msi" /qb ADDLOCAL=StartMenu or OpenShellSetup32_4_4_191.msi" /qb ADDLOCAL=StartMenu each package with its script
Please help me edit and write the script formula correctly. Code: @echo off title OpenShell Installer pushd "%~dp0" if exist "%windir%\SysWOW64\OpenShellSetup64_4_4_191.msi" /qb ADDLOCAL=StartMenu if exist "%windir%\SysWOW64\REGEDIT.EXE" /S OpenShell.reg exit
To install x64 only: @echo off title OpenShell Installer pushd "%~dp0" msiexec /i OpenShellSetup64_4_4_191.msi /qb ADDLOCAL=StartMenu REGEDIT.EXE /S OpenShell.reg exit This above for CMD. You can also do it directly in WinRAR, without CMD. Only change the "Run after extraction" field. Replace with: msiexec /i OpenShellSetup64_4_4_191.msi /qb ADDLOCAL=StartMenu REGEDIT.EXE /S OpenShell.reg Look at the attached image.
Big thank you bro, thanks alot for ur work and effort and be blessed! Code: @echo off title OpenShell Installer pushd "%~dp0" msiexec /i OpenShellSetup64_4_4_191.msi /qb ADDLOCAL=StartMenu REGEDIT.EXE /S OpenShell.reg exit