/build/static/layout/Breadcrumb_cap_w.png

[Wise script editor] issue with "copy local files" and https source path

Hello,

I know that Wise Script Editor is an old, no longer supported, package application.
But I need to modify a script due to a weird behavior:

The command : "Copy local files" allow to download a file from network (if support internet script is present). And I use this method to download files from http:// url without issue since years.

But, our repository url migrate on  httpS , and since it's no longer working..

The script is adding the current local folder prior the path, like that : c:\users\myProfile`\document\...\https://my_file_url

This behavior do not happen with http url.

Do you have any idea why? and above all : do you have a workaround ?


Thank you

Keih


0 Comments   [ + ] Show comments

Answers (1)

Posted by: rileyz 3 years ago
Red Belt
2

I tried my google skills for Wise Script, but its too old! So old in fact I also deleted my reference PDFs.

It might be time to convert it over to something else perhaps? Anyway, check out WGET, it might be able to do what you need. Thinking about it now, it would probably be best to create a script to do the heavy lifting, and use a Custom Action to call the script - I think this would give you the best flexibility.

How to download files from command line in Windows like wget or curl - Super User



Other bits I would suggest to know about when using a Custom Action

Synchronous and Asynchronous Custom Actions - Win32 apps | Microsoft Docs 

How to: become the LOCAL SYSTEM account with PsExec | Specops Software - test the script and SYSTEM, to make sure it works.

installation - How to execute custom action only in install (not uninstall) - Stack Overflow - blah, there used to be a great symnatec post/cheat sheet about conditions, but I cant find it. Anyway, you want the custom action only to run on install.


Comments:
  • Thank you for the help Rileyz, I will try your idea. - Keih29 3 years ago
  • I tried WGET, using the simple way to download a file : wget https://myUrl/File.exe I see no error during the download process, but at the end the file downloaded is corrupted.

    I search on the net, seems it was an old issue, when Wget tried to compress a file by default, but now this feature is deactivated by default.. so.. weird. - Keih29 3 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ