Jump to content

pitoloko

Members
  • Posts

    27
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by pitoloko

  1. Hi I'm using the WinToolkit version '1.4.32.5' and I'm editiing a Windows 8.1 image. I've added some silent unninstallers and the problem begins just before the WinToolKit installer starts, it shows an annoying error messagebox that stops the Windows Setup process with this text: 'NSIS Installer Error'. I want to clarify that the bug is not from any of my uninstallers for two reasons: 1st. The installbuilder that I use for all my installer files is 'INNO Setup' (not NSIS) 2nd. Like I've said this happens before WinToolkit launches the WinToolkit silent installer, then I need to prees 'Ok' in the error message to launch the WinToolkit installer to continue the setup to start installing the silent installers. PS: The bug does not happenned me time ago with a Windows 8 ISO, but in that time I was using an older version of WinToolkit. This is very urgent for me, I don't know in what frequency the WinToolkit team people launches new fixed releases but I think that I can't wait for a fix, I'm really dessesperated. Extra Info (if needed): This is information taken from MSDN about the ISO image of Windows 8.1 that I'm manipulating with WinToolkit: FileName: es_windows_8_1_x64_dvd_2707379.isoBuild...: 6.3.9600.16384.WINBLUE_RTM.130821-1623Language: SpanishSHA1....: 08C6B43ED6C96E7F98DAED9D13308E536B6D1481MD5.....: 2757FB97811CE7357A5762BA8AF9E55F And this is the settingf file of WinToolkit that I'm using: *AIO|v1.4.32.5|Sunday 09 February 2014 4:02:37 PM#ComponentsActive Directory Application ModeAppFrabicAustralia Local PackBitLocker Drive EncryptionCanada Local PackClips In The LibraryCommon Modem DriversDelete 'Support' folderDVD MakerGreat Britain Local PackHomeGroupHyper-V VMBUS DriverIIS Addons 1IIS Addons 2Inbox GamesIndexing ServiceInternet ExplorerInternet Explorer TroubleshootersInternet GamesMedia FeaturesMicrosoft Message Queue (MSMQ) ServerMicrosoft Storage ServiceMicrosoft XPS Document WriterMicrosoft-Hyper-V-GuestMicrosoft-Windows-Help-CoreClientMobile PC Client Components (Basic)Mobile PC Client Components (Premium)Mobile PC Client SideShow ComponentsMobile PC Sensors ALS DriverMusic and Video ExamplesMusic and Video Examples (Ringtones)New Zealand Local PackOEM Help CustomizationOffline FilesParental ControlsPhoto ExperiencePremium Inbox GamesPrinter DriversPrinting Premium Tools CollectionRemote AssistanceRemote Desktop Services Command Line ToolsRemote Desktop Services Publishing WMI ProviderRemote Desktop Services WMI ProviderRemoteFX Remote Client ComponentsRemoteFX Remote Server VM ComponentsShare Media Control PanelSnipping ToolsSound ThemesSubsystem for UNIX-based ApplicationsTablet PC ComponentsTelnet ClientTelnet ServerTerminal Services Miscellaneous RedirectionTerminal Services Remote Applications ClientTerminal Services Usb RedirectorTFTP ClientTV Tuner DriversUnited States Local PackVirtual XP Licensing PoliciesVirtualPC (USB)VirtualPC Licensing PoliciesWindows Anytime UpgradeWindows Anytime Upgrade ResultsWindows BackupWindows KillbitsWindows Media CenterWindows Media PlayerWindows Media Player DVD RegistrationWindows Media Player Network Sharing ServiceWindows Media Player TroubleshootersWindows Recovery DiscWindows Restore UtilityWindows Sidebar KillbitsWindows TIFF IFilterWindows User AssistanceXPS Viewer#ServicesActiveX Installer::DisabledAdaptive Brightness::DisabledApplication Layer Gateway::DisabledApplication Management::DisabledASP.NET State Service::DisabledBitLocker Drive Encryption::DisabledBluetooth Support::DisabledBranch Cache::DisabledCertificate Propagation::DisabledCredential Manager::DisabledDiagnostic Policy::DisabledDiagnostic Service Host::DisabledDiagnostic System Host::DisabledDisk Defragmenter::DisabledDistributed Link Tracking Client::DisabledEncrypting File System (EFS)::DisabledFax::DisabledFTP::DisabledFunction Discovery Provider Host::DisabledFunction Discovery Resource Publication::DisabledHealth Key and Certificate Management::DisabledHuman Interface Device Access::DisabledInteractive Services Detection::DisabledIP Helper::DisabledLink-Layer Topology Discovery Mapper::DisabledLPD Service::DisabledMedia Center Extender::DisabledNet.Msmq Listener Adapter::DisabledNet.Pipe Listener Adapter::DisabledNet.Tcp Listener Adapter::DisabledNet.Tcp Port Sharing::DisabledNetlogon::DisabledNetwork Access Protection Agent::DisabledOffline Files::DisabledParental Controls::DisabledPeer Name Resolution Protocol::DisabledPeer Networking Grouping::DisabledPeer Networking Identity Manager::DisabledPnP-X IP Bus Enumerator::DisabledPNRP Machine Name Publication::DisabledPortable Device Enumerator::DisabledProblem Reports and Solutions Control Panel Support::DisabledProgram Compatibility Assistant::DisabledQuality Windows Audio Video Experience::DisabledRemote Desktop Configuration::DisabledRemote Desktop Services::DisabledRemote Desktop Services UserMode Port Redirector::DisabledRemote Procedure Call (RPC) Locator::DisabledRemote Registry::DisabledRouting and Remote Access::DisabledSmart Card::DisabledSmart Card Removal Policy::DisabledSNMP Trap::DisabledTablet PC Input::DisabledTPM Base Services::DisabledWebClient::DisabledWindows Biometric::DisabledWindows CardSpace::DisabledWindows Color System::DisabledWindows Connect Now - Config Registrar::DisabledWindows Error Reporting::DisabledWindows Media Center Receiver::DisabledWindows Media Center Scheduler::DisabledWindows Media Player Network Sharing::DisabledWindows Process Activation::DisabledWindows Remote Management (WS-Management)::DisabledWindows Search::DisabledWinHTTP Web Proxy Auto-Discovery::DisabledWWAN AutoConfig::Disabled#Silent Installs_Perfiles::;NO;239.03 KB;C:\Users\Administrador\Desktop\win 8 .1\installers\4Menú contextual\_Perfiles.exe;Always InstalledAMD Catalyst::/silent;NO;141.82 MB;C:\Users\Administrador\Desktop\win 8 .1\installers\1Drivers (Hardware)\AMD Catalyst.exe;Always InstallednVidia GTX 650 Drivers para Windows 8.1::/silent;NO;200.87 MB;C:\Users\Administrador\Desktop\win 8 .1\installers\1Drivers (Hardware)\nVidia GTX 650 Drivers para Windows 8.1.exe;Always InstalledSoundBlaster X-Fi Xtreme Gamer::/silent;NO;28.77 MB;C:\Users\Administrador\Desktop\win 8 .1\installers\1Drivers (Hardware)\SoundBlaster X-Fi Xtreme Gamer.exe;Always InstalledAdobe Flash Player::/silent;NO;17.43 MB;C:\Users\Administrador\Desktop\win 8 .1\installers\2Drivers (Software)\Adobe Flash Player.exe;Always InstalledDLL-OCX Libraries::/silent;NO;3.98 MB;C:\Users\Administrador\Desktop\win 8 .1\installers\2Drivers (Software)\DLL-OCX Libraries.exe;Always InstalledJava Runtime Environment x86-x64::/silent;NO;52.66 MB;C:\Users\Administrador\Desktop\win 8 .1\installers\2Drivers (Software)\Java Runtime Environment x86-x64.exe;Always InstalledMicrosoft Visual C++ Libraries::/silent;NO;36.13 MB;C:\Users\Administrador\Desktop\win 8 .1\installers\2Drivers (Software)\Microsoft Visual C++ Libraries.exe;Always InstalledUltra UXTheme Patcher::/silent;NO;634.68 KB;C:\Users\Administrador\Desktop\win 8 .1\installers\2Drivers (Software)\Ultra UXTheme Patcher.exe;Always InstalledAC3 File::/silent;NO;630.67 KB;C:\Users\Administrador\Desktop\win 8 .1\installers\3Codecs\AC3 File.exe;Always InstalledFFDShow::/silent;NO;4.04 MB;C:\Users\Administrador\Desktop\win 8 .1\installers\3Codecs\FFDShow.exe;Always InstalledHaali Media Splitter::/silent;NO;1.71 MB;C:\Users\Administrador\Desktop\win 8 .1\installers\3Codecs\Haali Media Splitter.exe;Always InstalledHelix YUV Codecs::/silent;NO;522.06 KB;C:\Users\Administrador\Desktop\win 8 .1\installers\3Codecs\Helix YUV Codecs.exe;Always InstalledXvid::/silent;NO;973.46 KB;C:\Users\Administrador\Desktop\win 8 .1\installers\3Codecs\Xvid.exe;Always InstalledStartIsBack+ (Windows 8.1) InnoSetup::/silent;NO;1.67 MB;C:\Users\Administrador\Desktop\win 8 .1\installers\8StartIsBack+ (Windows 8.1) InnoSetup.exe;Always Installed#TweaksRemove 'Add to WMP list' from Audio context-menuRemove 'Print' from context-menuRemove 'Troubleshoot Compatiblity' from context-menu500ms Delay Aero PeekDesktop Icon Size::64Hide Recycle BinLarger Taskbar PreviewsRemove the Action Center iconTaskbar Buttons::Never combineAllow 3rd Party ThemesAlways Show Menu BarsAutomatically Expand to Current FolderChange Default Background::E:\Customización\Wallpapers\_Favoritos\21.jpgControl Panel View::Large IconsDisable Drive AutorunDisable Low Disk Space NotificationDisable Search Online on Unknown File ExtensionsDisable Smart Window ArrangementForce AeroIncrease Icon CacheMouse Hover Time::20Remove 'HomeGroup' from ExplorerRemove 'Libraries' from ExplorerRemove Shortcut SuffixShow All Icons on System TrayShow Drive Letters FirstShow Explorer StatusbarShow File ExtensionsShow System FilesSlower Taskbar PreviewSpeed Up DesktopSpeed-up Access to AVI Media FilesTurn Off Domain FirewallChange CMD Text Color::Bright GreenChange Registered Organization::ElektroStudiosChange Registered Owner::ElektroChange Setup Background::E:\Customización\Wallpapers\_Favoritos\21.bmpDisable Auto Reboot after installing updatesDisable Windows Media Player AutoUpdatesOpen NFO files with notepadRemove Windows Mail Splash [Vista]Show Notepad StatusbarWord Wrap in NotepadDisable AcceleratorDisable Default Browser CheckDisable First Run CustomizeDisable IE Crash DetectionDisable Internet Explorer to Check for UpdatesDisable Password Caching in Internet ExplorerDisable Signature checking for EXEsDisable Warning on Close (Tabs)Remove 'Favorites' Menu from IEComputer::MenuControl Panel::MenuDownloads::MenuUse small icons on Start MenuChange Logon Background::E:\Customización\Wallpapers\_Favoritos\21.jpgClear Page File at ShutdownDetailed Shutdown & LogonDisable Group Policy SynchroniseDisable User Account ControlEnable MSI Service in Safe ModeLogon Screen Text::Windows DefaultRestore Previous Folder at LogonShutdown QuickerAlways Unload DLLsDisable Admin SharesDisable Auto System Sounds Leveling::Reduce all other by 80%Disable Automatic Restart on BSODDisable Dr WatsonDisable HibernationDisable Mapped Drive Checking on Startup::Disable CheckingDisable NTFS EncryptionDisable Paging ExecutiveDisable Window 7 built-in CD/DVD BurningDisable Windows Error ReportingEnable MAC File SharingIncrease File System Memory Cache SizeIncrease RPC Packet SizeKeep Positive DNS EntriesLarge System Cache::EnableEnable Legacy .NET Framework#vLiteSpeech and Natural LanguageEase of Access ThemesExtra ThemesDelete 'WinSXS\\Backup' Folder#WallpapersE:\Customización\Wallpapers\_Favoritos\21.jpg#OptionsCompatibility CheckCreate BackupsDelete Silent InstallersEnable CMDIntegrate 'HDC' Drivers (boot.wim)Integrate 'SCSIADAPTER' Drivers (boot.wim)Integrate 'SYSTEM' Drivers (boot.wim)Log Registry ChangesPrepare DriversPrompt AddonsPrompt DriversPrompt GadgetsPrompt SilentPrompt ThemesPrompt UpdatesPrompt WallpapersRebuild ImageShow Browse DialogShow Duplicates
  2. I were in the same problem of you and I've developed time ago a mini-tool in .NET (VB) to solve that issue. You can compile this Class into an exe and just run the compiled exe, the entire desktop is shown not only a explorer window like happened using CMD. But my program is not for restart explorer, it don't kills explorer, it just start it, so if you want to kill explorer then you need to write that isntruction (in Batch for example using TaskKill command like you was using in your example). PS: If you want the program compiled then here is: http://www.mediafire.com/download/olj659v29ao8gdv/InitializeExplorer.exe The source is just a CLI app with a Module containning these lines: ' By Elektro #Region " Imports " Imports System.IO Imports System.Runtime.InteropServices Imports InitializeExplorer.NativeMethods #End Region ''' ''' Initializes a new instance of Explorer process. ''' Module InitializeExplorer #Region " P/Invoke " ''' ''' Class NativeMethods. ''' Friend Class NativeMethods ''' ''' Retrieves a handle to the top-level window whose class name and window name match the specified strings. ''' This function does not search child windows. ''' This function does not perform a case-sensitive search. ''' ''' ''' The class name or a class atom created by a previous call to the ''' RegisterClass or RegisterClassEx function. ''' The atom must be in the low-order word of lpClassName; ''' the high-order word must be zero. ''' If lpClassName points to a string, it specifies the window class name. ''' The class name can be any name registered with RegisterClass or RegisterClassEx, ''' or any of the predefined control-class names. ''' If lpClassName is NULL, it finds any window whose title matches the lpWindowName parameter. ''' ''' ''' The window name (the window's title). ''' If this parameter is NULL, all window names match. ''' IntPtr. Public Shared Function FindWindowByClass( ByVal lpClassName As String, ByVal zero As IntPtr ) As IntPtr End Function End Class #End Region #Region " ReadOnly Strings " ''' ''' Indicates the directory where the Explorer process is located. ''' Private ReadOnly ExplorerDirectory As String = Environment.GetFolderPath(Environment.SpecialFolder.Windows) ''' ''' Indicates the filename of the process. ''' Private ReadOnly ExplorerFilename As String = "Explorer.exe" ''' ''' Indicates the desk Taskbar Class-name. ''' Private ReadOnly TaskBarClassName As String = "Shell_TrayWnd" #End Region #Region " Process " ''' ''' The explorer process. ''' Dim Explorer As New Process With { .StartInfo = New ProcessStartInfo With { .FileName = Path.Combine(ExplorerDirectory, ExplorerFilename), .WorkingDirectory = My.Application.Info.DirectoryPath, .UseShellExecute = True, .CreateNoWindow = True } } #End Region #Region " Main " ''' ''' Defines the entry point of the application. ''' Sub Main() Select Case Convert.ToBoolean(CInt(FindWindowByClass(TaskBarClassName, Nothing))) Case False ' The Taskbar is not found. Try Explorer.Start() Console.WriteLine("Windows Explorer has been re-initialized successfully") Environment.Exit(0) Catch ex As Exception Console.WriteLine(ex.Message) Debug.WriteLine(ex.Message) Environment.Exit(1) End Try Case True ' The Taskbar is found. Console.WriteLine("Can't proceed, Windows Explorer is currently running. Exiting...") Environment.Exit(2) End Select End Sub #End Region End Module
×
×
  • Create New...