About DMD61

Contact Methods
-
Website URL
http://
Profile Information
-
OS
Windows 10 x64
Recent Profile Visitors
2,139 profile views
DMD61's Achievements
1
Reputation
-
How to install apps (.AppxBundle) inside ISO
DMD61 replied to DMD61's topic in Unattended Windows 10/11 Installation
In my example, it was Ookla.SpeedtestbyOokla, but it can be done for any other app or multiple apps at the same time. I followed this procedure: In the virtual machine in Audit Mode, I copied all the files related to the app in question, plus all the files related to x64 and x86 dependencies, to the main C directory. Along with the files, the app installation file with all dependencies must be present, which is the file in PowerShell (Install-Ookla.ps1). All files must be removed when the entire procedure is complete. This can be launched via a DOS command. PowerShell.exe -ExecutionPolicy Bypass -File C:\Install-Ookla.ps1 If we need to install multiple apps, for which there are multiple .ps1 installation files, we can use a single batch command to launch them all in sequence. Below, I have included the two sample scripts. PS1 installation file (Ookla.SpeedtestbyOokla) https://justpaste.it/aushf Unified batch script for multiple apps (personal example) https://justpaste.it/dbisn -
How to install apps (.AppxBundle) inside ISO
DMD61 replied to DMD61's topic in Unattended Windows 10/11 Installation
With the help of AI, I finally managed to install in audit mode using the advanced PowerShell script. Script https://justpaste.it/ak2h9 -
How to install apps (.AppxBundle) inside ISO
DMD61 replied to DMD61's topic in Unattended Windows 10/11 Installation
I try to check the scripts -
DMD61 started following How to install apps (.AppxBundle) inside ISO
-
Good morning. I am trying to install a particular app, Ookla.SpeedtestbyOokla, inside the W11 iso using the AuditMode \Sys Prep procedure. I downloaded both the app and the dependencies, then I used some powershell commands $AppxBundlePath = "C:\Ookla.SpeedtestbyOokla_1.18.194.0_neutral_~_43tkc6nmykmb6" $DependencyPath1_x64 = "C:\Microsoft.NET.Native.Runtime.1.7_1.7.27422.0_x64__8wekyb3d8bbwe.Appx" $DependencyPath2_x64 = "C:\Microsoft.VCLibs.140.00_14.0.33519.0_x64__8wekyb3d8bbwe.Appx" $DependencyPath3_x86 = "C:\Microsoft.NET.Native.Runtime.1.7_1.7.27422.0_x86__8wekyb3d8bbwe.Appx" $DependencyPath4_x86 = "C:\Microsoft.VCLibs.140.00_14.0.33519.0_x86__8wekyb3d8bbwe.Appx" DISM.EXE /Online /Add-ProvisionedAppxPackage /PackagePath:"$AppxBundlePath" /SkipLicense /Region:all /DependencyPackagePath:"$DependencyPath1_x64" /DependencyPackagePath:"$DependencyPath2_x64" /DependencyPackagePath:"$DependencyPath3_x86" /DependencyPackagePath:"$DependencyPath4_x86" Unfortunately, I am receiving an error in the syntax of this last command, and I cannot figure out how to resolve it. Any ideas? Thank you.
-
Sysprep: unable to validate current Windows installation
DMD61 replied to DMD61's topic in Windows 11
Thank you very much for the explanation. Now I understand the reason why you can't install apps in sysprep mode. -
Sysprep: unable to validate current Windows installation
DMD61 replied to DMD61's topic in Windows 11
@mina7601 Thank you for this alternative method. @UCyborgI followed the procedure, and entered the Powershell command as administrator, in the virtual machine I still don't see the App. Nevertheless I performed stop and generalize, and after that I created new ISO and verified that the App is not present. Did I do something wrong in the procedure? Thank you -
Sysprep: unable to validate current Windows installation
DMD61 replied to DMD61's topic in Windows 11
I thank you very much for the valuable information. I ask a stupid question, where do I get the url link of the app in the Microsoft Store? -
Good morning. I detect this error message due to the installation of an App (SpeedtestbyOokla) from the store that returned the following message: 023-10-02 12:20:55, Error SYSPRP Package Ookla.SpeedtestbyOokla_1.16.165.0_x64__43tkc6nmykmb6 was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image. 2023-10-02 12:20:55, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2. 2023-10-02 12:20:55, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2. 2023-10-02 12:20:55, Error SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2 2023-10-02 12:20:55, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2 2023-10-02 12:20:55, Error SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2 2023-10-02 12:20:55, Error [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2 2023-10-02 12:20:55, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2 Only by uninstalling this App is generalization possible. I ask if there is a procedure to install third-party Apps avoiding the sysprep error. I also tried disconnecting the network, after installing the APP, but I get the same error message. Thank you
-
[SOLVED] RunOnceEX is no longer executed
DMD61 replied to DMD61's topic in Unattended Windows 10/11 Installation
Thanks for the information. But I found the cause of the problem and the solution. Since a few days ago to save the number of usb sticks, I created the bootable usb stick not as I used to do with RUFUS but with Ventoy so that I can insert more ISOs of operating systems and tools. And it is just the usb stick created with Ventoy that does not allow me to run RunOnceEx, the usb stick created with Rufus works without problems. To solve definitavemene the problem with multiboot software like Ventoy in this way: I found the script solution to make the RunOnceEx procedure work on Ventoy as well. It involves synthesizing the "Software" folder in the Windows directoty and then when the Windows installation is finished, when you enter the user name via the registry the programs in the "Software" folder are installed and when it finishes all the installations, the "Software" folder is deleted. Setupcomplete @echo off SET CDROM=%WINDIR%\Setup REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /v Flags /t REG_DWORD /d "20" /f REG ADD %KEY% /V Title /D "Post Installation..." /f >NUL REG ADD %KEY%\06 /VE /D "Calcolatrice Legacy" /f >NUL REG ADD %KEY%\06 /V 1 /D "%CDROM%\Software\Calcolatrice_Legacy_2.0.exe" /f >NUL REG ADD %KEY%\42 /VE /D "Deleting Setup folder" /f >NUL REG ADD %KEY%\42 /V 1 /D "%CDROM%\Software\Deleting_Setup_folder.bat" /f >NUL EXIT Deleting_Setup_folder echo off cls rem -----Deleting_Setup_folder-------- rd "%windir%\Setup" /S /Q exit -
Good morning. I am struggling with a strange RunOnceEx situation. I have been using this procedure for years from W7 up to W11 22H2 and it works regularly on both HOST PC and virtual machine, but these days an unexplainable thing happens to me. When I run this procedure on a newly built pc with Ryzen 9 7950X and still running W11 22H2, the RunOceEx does not run, when I try the same ISO with RunOnceEx on another PC or virtual machine it runs. I have been going crazy for a few days and can't figure out why and don't know what solution to look for. Any ideas? This is the "setupcomplete.cmd" script that I have always uitilized. Sincerely thank you
-
Good morning. For a few months, I have been testing on a virtual machine to integrate some tools into the ISO of Windows (W10 V20H2) using the former runonce procedure used for years, but I can't make it run, I checked the scripts and they are all ok. Then to not waste time to install the ISO every time to see if it is executed directly the "setupcomplete.cmd" script directly and the log key is created with the launch programs in the path "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEX". But when the system restarts the programs are not executed. Some idea? Cordially thank you
-
DMD61 changed their profile photo
-
RuonOnce EX in ISO of Windows 10
DMD61 replied to DMD61's topic in Unattended Windows 10/11 Installation
This is the structure normally used that it works with the install.wim -
Good morning The procedure RunOnceEx runs smoothly, integrated in ISO of Windows 10, however, I noticed a problem. If in ISO is the install.wim file everything works regularly, but if I convert that file into .esd format to decrease the size, Runonce system no longer works and can not figure out why. Perhaps with install.esd files this procedure is not supported? Sincerely thank you
-
Problems creating self-extracting files in Program Files
DMD61 replied to DMD61's topic in Windows 10
This is true, also works in the main route %homedrive%. The path %localappdata% good for the installer directly and also allows the uninstall, as it is a hidden folder. If it is done manually, as in my case, I have to enable the display of hidden folders. Thanks for your interest -
Good morning For years, I delight in creating small self-extracting files for free programs, and I would like to understand why what I can do normally in W7 I no longer possible in W10. If the example is copied in "C:\Program Files (x86)" folder full of JDowloader complete executable. If this is done manually, everything works perfectly. If I create a self-extracting file with WinRAR, when I launch the executable returns an error to some files in it. The same self-extracting file installed on W7 works without problems, what I think is that in W10 is not allowed under the "Program Files (x86)" and the like, the automatic extraction of some files. Perhaps because they changed the management in terms of safety. Is there any command or script to insert different procedure? Sincerely thank you