Jump to content


Lordnicon79

Established Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by Lordnicon79

  1. Hi,

     

    firefox was installed via sccm 2012r2.

    i tried to copy the xpi file to C:\Program Files (x86)\Mozilla Firefox\browser\extensions but nothing happends. no message like: Hey do you want to install the plugin?.

     

    i tried to build a new folder with the product-ID and the unziped xpi file. Same thing happends! Nothing.

     

    I want to deploy thisPlugin to 200 PCs but... how ?

    the only way is to copy manualy the xpi file into the firefox window. but thats no good way!

  2. Yessssss.... i fixed it!

    But i don't know how! :-)

     

    i compared both ways: 1. first batch(1) file with folders and the 2nd. batch (2)(Test)

    i copied partly the batch (1) commands into the batch (2) an it worked good.

    until everything was combined into the batch(2) and that is the right and woking one:

     

    copy /y "%~dp0\Files2Copy\*.*" "C:\Program Files\Java\jdk1.8.0_45\jre\lib\security"

     

    Server folders: \\server\subfolder$\Oracle\Development Kit\Unlim.Sec. Pol. JDK8

    client folders: C:\Program Files\Java\jdk1.8.0_45\jre\lib\security

     

    the only one thing i changed is the foldername of the last two server folder:

    first: \\servername\subfolder$\Unlimited Security Policy JDK 8\test

    now: \\servername\subfolder$\Unlim.Sec. Pol. JDK8\Folder2Copy

     

    Maybe the foldername was to long ! ?!

    Now it runs perfekt !

     

    Thanks for your help ! Have a nice Weekend !!

  3. ok :-)

     

    the Files2Copy is a folder. Here are the two folders

    Server: \\servername\subfolder$\Unlimited Security Policy JDK 8

    (\\servername\subfolder$\Unlimited Security Policy JDK 8\security)

    Client: C:\Program Files\Java\jdk1.8.0_45\jre\lib\security

     

    Yesterday night, i tried to start by zero and build a test file:

     

    Batch:

    if not exist c:\test md c:\test
    copy "%~dp0Files2Copyfile1.txt" c:\test
    copy ".\Files2Copy\file2.txt c:\test
    copy "%~dp0\Files2Copy\file3.txt" c:\test
    copy "%~dp0\Files2Copy\file4.txt" "c:\test"
    copy /y "%~dp0Files2Copyfile5.txt" c:\test
    copy "%~dp0*.*" c:\test

     

    Server folder :

    \\servername\subfolder$\Unlimited Security Policy JDK 8\

    (\\servername\subfolder$\Unlimited Security Policy JDK 8\test)

    Client folder :

    c:\test

     

    It was ok! Only File3.txt, File4.txt and the last one worked fine!

    OK now i know how to build the folder names. (I hope)

     

    after that i tried it at my problem-batch-file but again "Failure".

     

    now, after a short night, i will test ist again with this changed Version of my batch file:

     

    batch:

    copy "%~dp0\security\local_policy.jar" "C:\Program Files\Java\jdk1.8.0_45\jre\lib\security\"
    copy "%~dp0security\US_export_policy.jar" "%ProgramFiles%\Java\jdk1.8.0_45\jre\lib\security"
    copy "%~dp0\security\README.txt" "C:\Program Files\Java\jdk1.8.0_45\jre\lib\security"

     

    Server Folder:

    \\servername\subfolder$\Unlimited Security Policy JDK 8/

    (\\servername\subfolder$\Unlimited Security Policy JDK 8/security)

    Client Folder:

    C:\Program Files\Java\jdk1.8.0_45\jre\lib\security

     

    But now, i have two questions:

     

    1. is it ok to use copy /y ....... ? or may i only use copy ..... (without /y )

    2. must be the server folder and the clientfolder with the same name?

     

    Like: \\servername\subfolder$\Unlimited Security Policy JDK 8/Securtiy

    C:\Program Files\Java\jdk1.8.0_45\jre\lib\security

     

    or is this ok?

    //servername/subfolder$/Unlimited Security Policy JDK 8/

    C:\Program Files\Java\jdk1.8.0_45\jre\lib\security

     

     

    Thanks for you help !!!

  4. Hi ,
    thanks for your helpful page, i tried the instructions and everything looked good.
    But now i try to start a new Paket and from now on i will allways get a 0x1(1) error message.
    Maybe i think i have a node in my head, i can't find the right way.
    I use the following parameters:

    I create a package
    I check the box package has source files
    I specify the folder where the files are: \\server\subfolder$\lib
    I specify a standard program
    next…
    I name the program (copy) and specify in the command line:
    filecopy.bat
    (that looks like :
    cmd.exe /c copy /y "%~dp0Files2Copy*.*" "%programfiles\Java\jdk1.8.0_45\jre\lib\security")
    I run whether or not logged in with admin rights
    I distribute the package, the deploy to the client.

    in ccmcache i can see all the files (batch and the subfolder) = check!
    But in the exexecmgr.log i see:
    Execution is completet for program copy. the exit cod is 1, the execution status is FailureNonRetry.

    Do you have any suggestion ?
    I hope you can help me...

    Thanks

  5. Hi,

     

    my intention is to copy 2 files into a folder, where only the admin own full permissions. Normal user have only read permissions.

     

    The destination directory is: C:\Program Files\Java\jdk1.8.0_45\jre\lib\security

    The new two files are: jocal_policy.jar and us_export_policy.jar

     

    i have to overwrite two files in destination folder, because they are to old. (or first, i delete the old two files and then copy the new two files)

     

    Here is my Batchfile, but i dont understand why nothing changes, if i send the batch file to a client:

     

    del "C:\Program Files\Java\jdk1.8.0_45\jre\lib\security\*.jar"
    copy %~dp0local_policy.jar "C:\Program Files\Java\jdk1.8.0_45\jre\lib\security"
    copy %~dp0US_export_policy.jar "C:\Program Files\Java\jdk1.8.0_45\jre\lib\security"

     

    first i generate a application (at sccm12) an configured the following:

     

    i told sccm to store the files permanent into Clientcache and to download all files

     

    if you need more details, please ask me! I dont know how to go on for fixing the problem

     

    thanks

×
×
  • 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.