Deployment Solution

 View Only
  • 1.  Folder (directory) copy issue

    Posted May 20, 2011 01:37 PM

    Good morning,

    Now that I have receive help and now that the issue with the app MSI deployment is resolved. I have another issue.

     

    I copied over a directory to the C: drive of my machines. What is required for the above mentioned application is 'Everyone' on the local machine need 'Full Permission' to this directory. I clicked the  "Copy files using Deployment server" radio button.

    The original resource has these permissions set already; is it because I used the 'Copy using Deployment Server" that the permission modifications from the original resouce have changed to not allow Everyone "Full Permission" on this copied resource on the recieving PC? Cound I use the "Copy directly from file source" option if I have the same directory copied onto my deployment server's data partition? I ask because it's a little slow running from the original directory resource, which is a network file share within our main domain.

     

    The location of the recieving PCs is at a satellite site connected with a 30 meg pipe. FYI.



  • 2.  RE: Folder (directory) copy issue

    Posted May 21, 2011 10:17 AM

     

    Following on from my last answer to you, the below is similar to the answer I gave before, but the install script has an extra line (CACLS) to give all users of the computer read access to the newly copied directory.  If I am reading your question right, they should only need read access.  If they do need write access change the "Users:R" bit below to "Users:C" (the C means change or modify access).

    I've also change the %LOCALCACHE% variable to point directly to the msi folder and changed the msiexec accordingly so double check the paths on your DS task.

    I also need to add that this works for us on XP SP3 and I've not tested on Win 7.

     

    i) Copy File To - copy the directory of the source installation to a folder on the local computer, C:\JobSource\Apps\App1

    ii) Run Script - a simple batch script to install the app, e.g.

     

    REM Install Script
    
    Set LOCALCACHE=C:\JobSource\Apps\App1
    CACLS "%LOCALCACHE%" /e /p Users:R
    msiexec /i "%LOCALCACHE%\App1.msi" ALLUSERS=1 /norestart /qb-
    
    EXIT %ERRORLEVEL% 

     

    Hope this helps,
    Darren.