Welcome to the community forums for Theopenem. All responses are provided by other users that wish to help out. Theopenem will not respond to these posts. If you require more assistance than what the community can provide, we offer various paid support options.

Deploy software multiple files


  • Hello,
    First of all, great job.
    How do you deploy an application with multiple files.
    Thank you for your help
    Cycy


  • Hello, can you explain in more detail?

    Is this an MSI or exe?

    Do you only need to execute a single file and the resources just need to be in the same folder?

    You can just create a command module and upload all of the necessary files for that application, then specify the file to run in the command field.


  • Hello,
    Thank you for the information I will try and I will make a feedback.
    The application is an EXE.
    Thank you.


  • Hello,

    Concerning my installation with several files and directories in my zip file.
    I tried the file copy modules.
    Copying files to the appdata using the[toec-appdata] variable works very well.
    However, I have activated the unzip of my zip file and it doesn't work.
    Once the copy and unzip was done I wanted to use the command module to start the installation.
    Do you have any idea?
    Thank you Cycy


  • Can you export the policy and attach it here so I can see exactly what you are trying to do?


  • Hello,
    Here is the export thank you for your help

    policy.json.txt [0_1560757264914_policy.json](Uploading 100%)


  • To be clearer
    I currently have 60 packages that are included in a toolbox https://psappdeploytoolkit.com/
    That's why in my zip I have directories and files.


  • Which part are you stuck on, the unzip or running the commands. Based on what you sent me the files will unzip to the toec appdata directory, but nothing will happen after that. Do you also have a command module assigned to the policy to run the command after it unzips? There is nothing in the policy you sent that will run any commands.


  • Yes, I have a command module.
    But the file does not unzip.
    I wanted to see the tree structure after unzip, to activate my command module.
    Thx


  • Have you checked the log on the client? Be sure the policy's log level is set to Full, then check the log folder at c:\program files\toec\logs for the latest service.log file. You can post it here if you want.


  • I still have my problem with a zip file that doesn't unzip once copied.
    The file in the copy file module is a zip file containing files and directories.
    I put the log in copy
    service.log
    Thank you for your help


  • I believe it's not unzipping because you have [toec-appdata] set as the directory. So it's treating it as a cache which doesn't apply the unzip. Try changing it to a folder path.


  • That was indeed the problem.
    On the other hand once the files unzipped how to remove them once my installation is OK


  • You would just add another script or command module to the policy to delete the folder.