wisescript source files

wisescript source files

How does one define source in Wisescript package editor to include source files so that when it is compiled the source file is included? I apologize if this is a simplistic question but I can't seem to find any documentation about this anywhere. Typically we have been creating VB scripts and then just copying source to end user systems and running the VB from the source folder. In the past, we have used wisescript to define variables that would point to the network location to copy from. I read that with the new version of Wisescript package editor, it can be made portable to include the source. How?

Thanks!

hmmmm

blacklisted_packager's picture

Well "Install Files" action can be used to include the files in the exe ,that means the source files will be there in the exe.
However if you want to run the source from relative location then you can use the variable called %INST% ..which refers to current location of the exe file.

hope this helps.

Thank you!

Thank you, thank you! This is exactly what I was looking for. If the "install files" action includes the files in the exe, what is the purpose of the "Create package project"? Wouldn't the exe already be "portable" using the install files action if the files required for installation are included?