Jump to content
Ketarin forum

ajs21

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by ajs21

  1. I have the same issue except Im trying it with only one application in the list. The link is a filehippo ID. I have looked up the install switches for the program. No matter what I do while this is in my Apps list i get an exception when pressing install. Not just this program either. Every one I have tried so far as well .

    See the end of this message for details on invoking 
    just-in-time (JIT) debugging instead of this dialog box.
    
    ************** Exception Text **************
    System.ArgumentException: Win32 handle that was passed to Icon is not valid or is the wrong type.
       at System.Drawing.Icon..ctor(IntPtr handle, Boolean takeOwnership)
       at System.Drawing.Icon..ctor(IntPtr handle)
       at System.Drawing.Icon.FromHandle(IntPtr handle)
       at Microsoft.Win32.IconReader.GetFileIcon(String name, IconSize size, Boolean linkOverlay)
       at Ketarin.ApplicationList.GetIcon()
       at Ketarin.Forms.ChooseAppsToInstallDialog.OnLoad(EventArgs e)
       at System.Windows.Forms.Form.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.Form.WmShowWindow(Message& m)
       at System.Windows.Forms.Form.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    
    
    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_C
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    ----------------------------------------
    Ketarin
        Assembly Version: 1.8.11.0
        Win32 Version: 1.8.11.0
        CodeBase: file:///C:/Users/Admin/Desktop/Windows-10-Deployment-Customizer/Binaries/Ketarin/Ketarin.exe
    ----------------------------------------
    System.Windows.Forms
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_C
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.4084.0 built by: NET48REL1
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System.Xml
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.4084.0 built by: NET48REL1
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    System.Core
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_C
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    ----------------------------------------
    System.Data.SQLite
        Assembly Version: 1.0.112.0
        Win32 Version: 1.0.112.0
        CodeBase: file:///C:/Users/Admin/Desktop/Windows-10-Deployment-Customizer/Binaries/Ketarin/System.Data.SQLite.DLL
    ----------------------------------------
    System.Data
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
    ----------------------------------------
    System.Transactions
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.4084.0 built by: NET48REL1
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
    ----------------------------------------
    System.Web
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.4330.0 built by: NET48REL1LAST_B
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
    ----------------------------------------
    System.Design
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.4084.0 built by: NET48REL1
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Design.dll
    ----------------------------------------
    System.Configuration
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    System.EnterpriseServices
        Assembly Version: 4.0.0.0
        Win32 Version: 4.8.4084.0 built by: NET48REL1
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
    ----------------------------------------
    
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    
    For example:
    
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
    
    

     

  2. I have made a script that checks for directories and makes them if they are not present. Then exports and backs up the apps list and copies the Database file to a backup folder. Also creates a log file in the Backup directory. I also would like to export the commands to an xml to make a backup. I see you can export the commands manually to a file. Is there no command to do this automatically?

    Here are the PowerShell commands I am currently using. 

    $directoyPath="Backup";
    if(!(Test-Path -path $directoyPath))  
    {  
        New-Item -ItemType directory -Path $directoyPath      
    }
    
    $directoyPath=".\Backup\Database";
    if(!(Test-Path -path $directoyPath))  
    {  
        New-Item -ItemType directory -Path $directoyPath      
    }
    
    $directoyPath=".\Backup\CommandsExport";
    if(!(Test-Path -path $directoyPath))  
    {  
        New-Item -ItemType directory -Path $directoyPath      
    }
    
    $directoyPath=".\Backup\ExportAppList";
    if(!(Test-Path -path $directoyPath))  
    {  
        New-Item -ItemType directory -Path $directoyPath      
    }
    
    $directoyPath=".\Backup\Logs";
    if(!(Test-Path -path $directoyPath))  
    {  
        New-Item -ItemType directory -Path $directoyPath      
    }
    
    Copy-Item -Force -Recurse -Verbose '~\AppData\Roaming\Ketarin\jobs.db' '.\Backup\DataBase\jobs'
    
    Start-Process ketarin.exe {/export=Backup\ExportAppList\ExportList.xml /log=Backup\Logs\Logfile.txt}
    

     

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.