v13 Script: finishpkg with WindowsCE

v13 Script: finishpkg with WindowsCE

Has anyone gotten this script to work successfully as a pre-install script in a package?

Why does the documentation specify 1: as the root directory?

Can I reference a file name instead of a folder?

Also, can "if exist" be used in other scripts than finishpkg?

 

Sorry for my lack of sleuthing here. Working in a production environment and rebuilding packages to test a script gets time-consuming.

3 Answers

Order By:   Standard | Newest | Votes
Matt Dermody | posted this 16 May 2018

I don't have all your answers but I am fairly certain you can use the if and if exist paradigms with other scripts. 

  • 0
  • 0
Wayne Wang | posted this 16 May 2018

It works fine in my both 13.3.0.3690 and 14.0.2.1226 environments.

I don't know why we use 1: for root directory, but it works fine with it.

I believe you can use a file instead of a folder.

Yes, I also use it to create a rule for my 4th octet.

  • 1
  • 0
Ben Ragland | posted this 17 May 2018

Thanks for the confirmation Wayne. 

 

The script worked for me as a way to reference a simple .txt file delivered with the same package to prevent reinstallation of redundant packages after coldboot. I also added a pre-uninstall to remove the .txt file if necessary.

  • 0
  • 0

Give us your feedback
Give us your feedback
Feedback