Open spiritbreaker22 opened 3 years ago
I am just now starting to use WPP and I have this same question. The wiki doesn't seem to have any info on this either.
I also need to copy an additional file to a specific location on disk during the update, and would much prefer it to be self contained in the update and not reference an external file share.
Hey I simply want to do the same but without any MSI File :D Did you find a solution what path I need?
You can use batch or powershell to copy file from update folder to the specified destination. Use the resulting script as a starting point for update. You dont need an MSI for Custom Update
Hmm maybe I do not get it, how does the powershell script know the update folder location? And where do I put this powershell script?
Fot reference to the installer directory in batch use %cd% for ex. all files that are to be transferred to the client need to be put in the
Ah ok so the variable is %cd% :D and where do you place the install.cmd file? because the custom update requires a path to a script which is then also %cd%/install.cmd ????
If you use custom update gui to run script, then no, you dont need to provide a path Here is an example from my java custom installation
Wow that is easy, should be really added to wiki... many thanks saved my life! Did not test it yet but will do tomorrow !
Hi,
i need to create a custom update with an msi package and addtional files. So i created a custom update with an MSI action and file copy task.
In a later step the test.txt file is added to the addional files and install rules was defined. But the Update works not like expected, the additional files were not copied.
Im not sure how to address the addtional files in "source path" within Custom Update Creator File Copy Action:
Sourcefile: %IdontKnowPathofCustomUpdateEngine.exe%\test.txt Target: c:\tmp
Is there a variable for this?
Thanks!