Jump to content

Copy file to ProgramData in Offline Deployment Package


Recommended Posts

I'm trying to install Winzip with an application package, and to license the program I need to copy a license file to C:\ProgramData\Winzip. I started by adding a copy file task and used the path C:\ProgramData\Winzip\. That didn't work and I thought it may be related to the folder not existing so I added a command "cmd /c mkdir C:\programData\Winzip" before the copy file. That too is failing. I found on these forums that it could be due to the OS drive not labelled as C: and so I changed that to T: as suggested, but that also is failing.


I'm looking for suggestions at this point. Is there a variable like [ProgramData] available?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...