Increase the speed of loading the compiled EXE and incl....

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 10 years and 7 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
shaitan.667
Posts: 6
Last visit: Mon Jul 30, 2018 6:48 pm

Increase the speed of loading the compiled EXE and incl....

Post by shaitan.667 »

I have only recently discovered this application and am loving it so far.

I was wondering if there was anyway of speeding up the loading of the exe that I have built?

Also, my script depends on the QAD Cmdlets - is there anyway of including this in the compiled exe at all?

Thanks
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: Increase the speed of loading the compiled EXE and incl.

Post by davidc »

Unfortunately there is no way of getting around the delay in loading a snapin or module.

Note: The packaged exe doesn't actually compile the script into binary. The script still needs to be submitted to the PowerShell engine.

If you want to distribute the Snapin with the EXE then you might want to create an installer. Please refer to the MSI Wizard:

http://www.sapien.com/blog/2013/06/05/i ... si-wizard/


David
David
SAPIEN Technologies, Inc.
This topic is 10 years and 7 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.