Jump to content

dannyict

Member
  • Posts

    15
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Belgium

Posts posted by dannyict

  1. cmd1 ** Fout ** (terug gedraaide code 999): "C:\brol4\WPI_ICT4.1\Install\exception.sites" "C:\Users\ghostie\AppData\Roaming\localLow\Sun\Java\Deployment\security"

     

     

    config

    prog[pn]=['Voegt java security toe voor http://www.fisme.science.uu.nl];
    uid[pn]=['VOEGTJAVASECURITYTOE'];
    dflt[pn]=['yes'];
    forc[pn]=['no'];
    bit64[pn]=['no'];
    cat[pn]=['Ict-werkbalk 4.1'];
    pfro[pn]=['no'];
    cmds[pn]=['{XCOPY} "%wpipath%\\Install\\exception.sites" "%APPDATA%\\localLow\\Sun\\Java\\Deployment\\security"'];
    desc[pn]=['Voegt java security toe'];
    pn++;

  2. Hi, I'm trying to copy this file exception.sites to \appdata\localLow\Sun\Java\Deployment\security\. But can't figure out how to do that.

    I ttied {Start} and then the vbs script and {Filecopy} with the file, but it's not working .

    this is the vbs script that works.

    Set objFSO = CreateObject("Scripting.FileSystemObject")

    set objWShell = wScript.createObject("WScript.Shell")

    usrName = objWShell.expandEnvironmentStrings("%USERNAME%")

    objFSO.CopyFile "exception.sites" , "C:\Users\" & usrName & "\appdata\localLow\Sun\Java\Deployment\security\", True

    Anyone has a solution please?

  3. Kelsenellenelvian thanks that worked great :)

    Now I got another question if you don't mind?

    I'm trying to delete a folder from the desktop and used

    {DELDIR} "%allusersprofile%\\desktop\\folder"

    Did not work, I can't see a where my fault is. Any suggestions?

  4. Trying to install a program and copy a file to desktop and it's working but when I put the compiled script in WPI

    the install runs fine but the file does not get copied to desktop. Anyone has an idea how to fix that?

    Is there another way to copy the file to the desktop? I'm using the WPI 8.22 version

    Thanks

    Here's the script

    ;Edukleuter

    RunWait("Edukleuter.exe /SILENT /SUPPRESSMSGBOXES /NORESTART /SP-")

    sleep (500)

    FileCopy("Edukleuters.lnk", @DesktopDir)

×
×
  • Create New...