<?xml version="1.0"?>
<rss version="2.0">
<channel>
<title>SyMenu - SyMenu Suite - The SPS scripting engine - Messages</title>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=415</link>
<description>SyMenu - SyMenu Suite - The SPS scripting engine - Messages</description>
<language>en-us</language>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<pubDate>Mon, 24 Jun 2019 18:30:28 GMT</pubDate>
<lastBuildDate>Mon, 24 Jun 2019 18:30:28 GMT</lastBuildDate>
<item>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=415</link>
<title>Message from Gianluca</title>
<description><![CDATA[<b>chef</b> wrote:<br/><blockquote>So do you recommend me starting to create such a SPS package for learning (and maintaining) a SPS package?</blockquote><br/>If you are interested in understanding the SPS technology and offering a contribution of this kind to this community, sure I do.]]></description>
<pubDate>Mon, 24 Jun 2019 18:30:28 GMT</pubDate>
</item>
<item>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=415</link>
<title>Message from chef</title>
<description><![CDATA[<b>Gianluca</b> wrote:<br/><blockquote><br/>The dependencies release with a certain package is not our business. As SPS editors we release the packages as they are released from their authors.<br/>Since the AutoIT major is still stuck on the 3.3.14.5 (https://www.autoitscript.com/site/autoit-script-editor/downloads/) I can't update it or update one of its dependency (SciTE).<br/></blockquote><br/><br/>This I already learned yesterday when following a recommended reading where you refer of this forum into a thread of another forum in the States. <br/><br/><br/>And as far as I understood, the issue of package management including such dependencies one of the moderators claimed as still open meaning not addressed in a portable manner by any implementation or proposal in that other forum. This means that neither you nor any competitor had addressed this aspect yet. Nobody in that threat made a different claim.<br/><br/><br/><br/><b>Gianluca</b> wrote:<br/><blockquote><br/>If in  your opinion a separate SPS package for SciTE is needed you can try to  create it by your own and eventually share it with the community. <br/><br/></blockquote><br/><br/>My post was in answer to the questions raised by sl23. He elaborated on handling of packages requiring another download. In that context, he raised <i>several questions with seemingly not getting a reply yet</i>. So I replied on his question if the <i>editor mentioned by him works also without that context of the other package or only in that context. My reply was that it works also without that context</i>. <br/><br/><br/>I continued that the option to have a seperate SPS package for SciTE makes sense as it works also stand alone. Priority would probably not be high as there exist already editors with syntax high lighting in the suite although not yet SciTE as stand alone package.<br/><br/>Before I replied to sl23, I looked up in the suite and found that the situation is still as he reported and no seperate SPS package for SciTE created although another SPS package exists which extends the one included as reported by him for use in the context of another tool.<br/><br/><br/><b>Gianluca</b> wrote:<br/><blockquote><br/>If in  your opinion a separate SPS package for SciTE is needed you can try to  create it by your own and eventually share it with the community. <br/><br/><br/>I'm always open to new SPS editor and always available to help the newbie!<br/></blockquote><br/><br/>I already new this openness. (You mentioned it in another topic in the forum on a different request to another thread author.)<br/><br/><br/>And as clarified in this response, I see no such <b>need</b> in the sense of requirement. I consider it just an <b>option</b> which makes sense.<br/><br/>So do you recommend me starting to create such a SPS package for learning (and maintaining) a SPS package?<br/><br/>(And I see and learned now that there exists a work around to the limitation of the forum software to support my style of quoting reported in another threat.)]]></description>
<pubDate>Mon, 24 Jun 2019 17:38:47 GMT</pubDate>
</item>
<item>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=415</link>
<title>Message from Gianluca</title>
<description><![CDATA[The dependencies release with a certain package is not our business. As SPS editors we release the packages as they are released from their authors.<br/>Since the AutoIT major is still stuck on the 3.3.14.5 (https://www.autoitscript.com/site/autoit-script-editor/downloads/) I can't update it or update one of its dependency (SciTE).<br/><br/>If in your opinion a separate SPS package for SciTE is needed you can try to create it by your own and eventually share it with the community. <br/><br/>I'm always open to new SPS editor and always available to help the newbie!]]></description>
<pubDate>Mon, 24 Jun 2019 09:09:57 GMT</pubDate>
</item>
<item>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=415</link>
<title>Message from chef</title>
<description><![CDATA[<b>sl23</b> wrote:<br/><blockquote>Can we specify an install path yet? If not then this needs adding. Also, double downloads.<br/><br/>For example, AutoIt3 has the SciTe, but, it seems, only the basic package. So, a second download would be required to install this package into:<br/>AutoIT_sps\SciTe\ and overwrite the existing files there.<br/><br/>But is it necessary to have SciTe as a seperate sps in it's own right? Or, just include it with the AutoIt package? Is SciTe useful outside of AutoIt or only if used with AutoIt?<br/><br/>Just thinking, would it be easier for users if stage one was simply repeated? So simply keep the unpack box as is but have a second one for apps requiring double unpack?  The second would need to be blank if not required.<br/><i>edited by sl23 on 04/02/2016</i></blockquote><br/><br/><br/>Have you got any feed back on your question about <b>SciTE</b>?<br/><br/>I couldn't see one. I'm new to SyMenu. And I've used SciTE in the past on an older computer with Windows XP, not regularly. And I never used AutoIT. So it has been available seperately and was working seperately. There are various editors with syntax highlighting available. <i>So adding a seperate package just for SciTE within SyMenu will increase the choice available to the users</i>. So far, I've not seen a seperate SPS package for SciTE.<i><br/></i><br/><br/>And another SyMenu tool tells me that the version of SciTE included with AutoIT on SyMenu is <b>outdated with version 3.5.4</b>. This other SyMenu tool tells me that other users of this tool have version 4.1.2 of SciTE installed. And another directory for software tells me that the author has already <b>released version 4.1.7 of SciTE</b>.]]></description>
<pubDate>Sun, 23 Jun 2019 19:41:12 GMT</pubDate>
</item>
<item>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=415</link>
<title>Message from sl23</title>
<description><![CDATA[Looking forward to this, thanks for your hard work, much appreciated ;-)]]></description>
<pubDate>Sat, 27 Feb 2016 19:31:28 GMT</pubDate>
</item>
<item>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=415</link>
<title>Message from Gianluca</title>
<description><![CDATA[Hello guys.<br/><br/>The new 5.01 version is in translation now so it will be released with a partial scripting engine: we'll only have the scripting before install. Sorry for that but the my release scheduling is too strict to implement the entire feature. <br/><br/>At least when SyMenu is released the before install scripting feature will be available an fully working (I hope).<br/><br/>I will update the SPS Builder just after the SyMenu release to avoid the publication of SPS that require the scripting ability before SyMenu is able to understand it.<br/><br/>Stay tuned.]]></description>
<pubDate>Sat, 27 Feb 2016 11:22:14 GMT</pubDate>
</item>
<item>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=415</link>
<title>Message from VVV_Easy_Symenu</title>
<description><![CDATA[Two other applications with "double zip"<br/><a href="http://www.thewindowsclub.com/10appsmanager-windows-10" target="_blank" rel="nofollow">10AppsManager</a> -&gt; <a href="http://www.thewindowsclub.com/downloads/10amW10.zip" target="_blank" rel="nofollow">http://www.thewindowsclub.com/downloads/10amW10.zip</a><br/>Restart To UEFI -&gt; <a href="http://66.226.78.22/downloadsite/Utility/Others/RestartToUEFI(v1.0.5).zip" target="_blank" rel="nofollow">http://66.226.78.22/downloadsite/Utility/Others/RestartToUEFI(v1.0.5).zip</a><br/>Both are Windows 10 .. this is becoming a illness <img src="images/smilies/smile.gif" border=0 alt="smile" />]]></description>
<pubDate>Fri, 26 Feb 2016 22:05:27 GMT</pubDate>
</item>
<item>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=415</link>
<title>Message from Gianluca</title>
<description><![CDATA[A deeper analysis is better than a superficial one. Usually when I have made complete draw of the problem I can take decisions and I can choose the more consistent solution.<br/><br/>This Paperscan is a pain... they offer a zip file to download (from here <a href="http://www.orpalis.com/download/paperscanfree.zip)." target="_blank" rel="nofollow">http://www.orpalis.com/download/paperscanfree.zip).</a><br/>Inside the zip you'll find an executable. It's an InstallShield setup. <br/>Inside the InstallShield setup you'll find an msi setup. <br/>Inside the msi setup you'll finally find the software.<br/>It's a weird system for distributing a software.<br/><br/>@VVV_Easy_Symenu<br/>An external tool to unpack msi could be a good solution but it has to be silent, with a command line interface too, and it should be executed with normal privileges.<br/>Is the tool you tested this one? <a href="http://www.jsware.net/jsware/msicode.php5#unpackx" target="_blank" rel="nofollow">http://www.jsware.net/jsware/msicode.php5#unpackx</a>]]></description>
<pubDate>Mon, 08 Feb 2016 18:45:56 GMT</pubDate>
</item>
<item>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=415</link>
<title>Message from sl23</title>
<description><![CDATA[I have come across many examples of exe's wrapped in exe's, PaperScan Free is one such example. I used UniExtract on it but it doesn't work, at least the original and Gora's versions didn't, I'll test this new version 2 and see if that's different. It has had a major overhaul so maybe it will?!<br/><br/>But, I see what you mean Gian, I misunderstood the example! Analysing too deeply, I tend to do that!]]></description>
<pubDate>Sun, 07 Feb 2016 23:55:47 GMT</pubDate>
</item>
<item>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=415</link>
<title>Message from VVV_Easy_Symenu</title>
<description><![CDATA[<blockquote> <b>Gianluca</b> wrote: - to unpack an msi you need an admin command shell available.</blockquote><br/>I don't know how but Universal Extractor (SPS Suite)  is capable to unpack ICE msi instalaton file without admin rights (7zip is not be able to unpack this rare file).<br/><a href="http://ftp.research.microsoft.com/downloads/69699e5a-5c91-4b01-898c-ef012cbb07f7/ICE-2.0.3-for-64-bit-Windows.msi" target="_blank" rel="nofollow">ICE-2.0.3-for-64-bit-Windows</a><br/>I have done some inquiries and I understand in licenses "Universal_Extractor_sps\ docs\msi *. *" that it use a library of Total Commander or a msix tool (Universal_Extractor_sps\bin\MsiX.exe).<br/>It's not in totaly silent mode but I hope this helps you.<br/><i>edited by VVV_Easy_Symenu on 07/02/2016</i>]]></description>
<pubDate>Sun, 07 Feb 2016 21:08:04 GMT</pubDate>
</item>
<item>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=415</link>
<title>Message from Gianluca</title>
<description><![CDATA[Maybe you are right but the request for a double or triple decompression comes from you editors <img src="images/smilies/smile.gif" border=0 alt="smile" /><br/>I'm only searching a good implementation that can grant flexibility, ease of use, and consistency. If some combinations won't be useful, who cares, the system theoretically covers any kind of combined compression for the supported formats. <br/><br/>Anyway I can give you other simple examples, besides yours, in which the double processing will be useful.<br/><br/>If  you get a tar/gz package you can unpack it with SPS because the tar/gz  package needs a double pass. I personally saw some apps packed with  tar/gz.<br/><br/>Even more frequently you can find an exe installer (unpackable  with 7z) packed inside an msi file, which is not directly supported but that  sometimes is unpackable with 7z again. So you have another example where  the double processing is useful.<br/><br/>The last one comes thanks to our friend VVV_Easy_Symenu. <br/>Try to download this application.<br/><a href="http://www.tcxconverter.com/TCX_Converter/DOWNLOADS_files/TCX-C-Experience_2032_Windows.zip" target="_blank" rel="nofollow">http://www.tcxconverter.com/TCX_Converter/DOWNLOADS_files/TCX-C-Experience_2032_Windows.zip</a><br/>It's a zip file that contains an innosetup package. Why the author decided to zip an already compressed setup package? Again who cares, maybe he didn't want his users have to download an exe file... we all know how scaring an exe file can be <img src="images/smilies/smile.gif" border=0 alt="smile" /><br/>The only fact here is that an innosetup package inside a zip package exists.]]></description>
<pubDate>Sun, 07 Feb 2016 18:32:00 GMT</pubDate>
</item>
<item>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=415</link>
<title>Message from sl23</title>
<description><![CDATA[7z | rar | zip | innosetup  [relativePathToTarget]<br/><br/>Knowing nothing about scripting, this looks to me like it's saying:<br/>1. Unpack 7z, then<br/>2. Unpack rar, then<br/>3. Unpack zip, then<br/>4. Unpack innosetup to relative path.<br/><br/>Obviously this can't be the case, nobody packs things this way, though I've come across zip's in rar files, but never an app.<br/><br/>So what exactly is going on here?<br/><i>edited by sl23 on 07/02/2016</i>]]></description>
<pubDate>Sun, 07 Feb 2016 13:06:25 GMT</pubDate>
</item>
<item>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=415</link>
<title>Message from Gianluca</title>
<description><![CDATA[Hello guys.<br/><br/>I'm working hard on this new feature and my ideas is becoming clearer.<br/><br/>The first release of the scripting engine will be very simple with only basic features. We have to test it and to check if it is really useful before starting to fill it with several new features.<br/><br/>I'm currently working on the easier part, the script before installing.<br/><br/>The syntax will be easier than that one I have theorized before. Sure, with this approach you'll have less freedom in your scripts, but I absolutely have to grant security to the users. The priority is security, if I can't grant it I'll immediately abort the scripting engine project.<br/><br/>The before install condition is this: we have a just downloaded package that is located in a temporary folder on your PC. SyMenu knows exactly where this package is located and what its name is so you have to specify nothing because it is obvious that you are processing the package. <br/>But you have to instruct SyMenu on what file you expected from the first decompression, because a package could contain more that one file with names different from the container.<br/><br/>Therefore the syntax becomes:<br/> 7z | rar | zip | innosetup  [relativePathToTarget]<br/><br/>Examples<b>:<br/>7z insidePackageFile.zip<br/>    zip packageFolder\insidePackageFile.exe<br/>    innoSetup "package folder\insidePackage.zip"</b><br/><br/>I did some examples with inconsistent extensions among the unpacker and the file (7z/zip, zip/exe, innoSetup/zip) to explain better that the first unpacker is not applying to the argument but the argument is the result of the unpacker action.<br/><br/>A clearer syntax should be: <b><br/>7z THEN insidePackageFile.zip<br/>    zip THEN packageFolder\insidePackageFile.exe<br/>    innoSetup THEN "package folder\insidePackage.zip"</b><br/><br/>I think that a shorter syntax is easier to understand and remember but let me know what do you think. I even could implement both of them.<br/><br/>The first release won't have the double unpackers feature but surely I'll implement it in a future version.<br/>The double download is more and more difficult so it could arrive later.<br/><br/>Another news is about the msi format. I'm really sorry but I can't add that to the SPS, neither normal nor scripted, for two main reasons:<br/>- to unpack an msi you need an admin command shell available. It's an incredible thing but it's true. I can't force a user to gain an administrative privilege to simply unpack a file;<br/>- if you unpack an msi in silent mode and it hangs for whatever reason, the process remains active indefinitely. Try to unpack an msi in silent mode without admin privileges if you don't believe....<br/><br/>The more I go deep in the MS products the more I discover fantastic things and creepy piece of architectures. Sometimes it seems that MS is two different companies.....<br/><br/>Ok. I'll let you posted of next progress.]]></description>
<pubDate>Sun, 07 Feb 2016 10:37:53 GMT</pubDate>
</item>
<item>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=415</link>
<title>Message from VVV_Easy_Symenu</title>
<description><![CDATA[Some thoughts,<br/>The future "introduce multiline string" SPS scriping feature, it will be before or after the "Update no Copy Files" actual SPS feature? Or this actual feature evolve a some script command?<br/>I think that multiple dowloading will be a good feature, for instance for the separate translations files, plugins, etc. If you do this, why not evolve the actual feature "download URL" to a script command parameter? So,<br/><ul><li>Normal SPS: <b>7z {UrlApp} {AppSPSfolder}</b></li><li>Doble unpack: <b>7z{UrlApp} {AppSPSfolder}; 7z {AppSPSfolder\firspack} {AppSPSfolder}; del</b><b> {AppSPSfolder</b><b>\firspack}</b></li><li>Several dowloads: <b>7z{UrlApp} {AppSPSfolder}; 7z{UrlTranslation}</b><b> {AppSPSfolder</b><b>\translations}</b> </li></ul><br/><i>edited by VVV_Easy_Symenu on 06/02/2016</i>]]></description>
<pubDate>Sat, 06 Feb 2016 09:53:45 GMT</pubDate>
</item>
<item>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=415</link>
<title>Message from sl23</title>
<description><![CDATA[Can we specify an install path yet? If not then this needs adding. Also, double downloads.<br/><br/>For example, AutoIt3 has the SciTe, but, it seems, only the basic package. So, a second download would be required to install this package into:<br/>AutoIT_sps\SciTe\ and overwrite the existing files there.<br/><br/>But is it necessary to have SciTe as a seperate sps in it's own right? Or, just include it with the AutoIt package? Is SciTe useful outside of AutoIt or only if used with AutoIt?<br/><br/>Just thinking, would it be easier for users if stage one was simply repeated? So simply keep the unpack box as is but have a second one for apps requiring double unpack?  The second would need to be blank if not required.<br/><i>edited by sl23 on 04/02/2016</i>]]></description>
<pubDate>Thu, 04 Feb 2016 17:44:30 GMT</pubDate>
</item>
<item>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=415</link>
<title>Message from sl23</title>
<description><![CDATA[Oh yes, sorry, I remember now, doh!]]></description>
<pubDate>Wed, 03 Feb 2016 12:42:47 GMT</pubDate>
</item>
<item>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=415</link>
<title>Message from Gianluca</title>
<description><![CDATA[We were talking about a different thing, the future of the entire SPS architecture. I don't know if I can evern realize that project due to the long time and work required.<br/><br/>The scripting engine is a simply extension of the current SPS schema. Not a big thing.]]></description>
<pubDate>Wed, 03 Feb 2016 11:24:21 GMT</pubDate>
</item>
<item>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=415</link>
<title>Message from sl23</title>
<description><![CDATA[<b>Gianluca</b> wrote:<br/><blockquote><b>sl23</b> wrote:<br/><blockquote>BTW,  is it just me or is there a problem with this site? text is running off  the side of the page and I'm having to scroll right to read longer  posts. I never had this issue before. It also happens on my android  phone.</blockquote><br/>I think it's because your previous post where you put a really long line starting with "recent_docs =...". Try to modify it and shorten this line. </blockquote><br/>Ok, I deleted the entire code. See how it goes. Thanks for the tip!<br/><br/><b>Gianluca</b> wrote:<br/><blockquote><b>sl23</b> wrote:<br/><blockquote>Any chance phase one, double unpack, will arrive in the first half of this year?</blockquote><br/>What? Absolutely not. I hope you can have <u>the entire script engine</u> within the end of March both in SyMenu and SPS Manager.</blockquote><br/>Seriously? I thought you said in email it would take 6-8 months of solid work, but would take longer due to other responsibilities? Did I misunderstand?<br/><i>edited by sl23 on 03/02/2016</i>]]></description>
<pubDate>Wed, 03 Feb 2016 10:30:34 GMT</pubDate>
</item>
<item>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=415</link>
<title>Message from Gianluca</title>
<description><![CDATA[<b>VVV_Easy_Symenu</b> wrote:<br/><blockquote>BTW attention to the special characters and syntax with the script interpreter and the SPS Container interpreter</blockquote><br/>Yes you are right I will pay attention with that encoding the entire script before writing into the SPS file. BTW the forum software is not mine <img src="images/smilies/smile.gif" border=0 alt="smile" /><br/><br/><br/><b>sl23</b> wrote:<br/><blockquote>BTW,  is it just me or is there a problem with this site? text is running off  the side of the page and I'm having to scroll right to read longer  posts. I never had this issue before. It also happens on my android  phone.</blockquote><br/>I think it's because your previous post where you put a really long line starting with "recent_docs =...". Try to modify it and shorten this line. <br/><br/><b>sl23</b> wrote:<br/><blockquote>Any chance phase one, double unpack, will arrive in the first half of this year?</blockquote><br/>What? Absolutely not. I hope you can have <u>the entire script engine</u> within the end of March both in SyMenu and SPS Manager.]]></description>
<pubDate>Wed, 03 Feb 2016 07:51:21 GMT</pubDate>
</item>
<item>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=415</link>
<title>Message from sl23</title>
<description><![CDATA[<b>VVV_Easy_Symenu</b> wrote:<br/><blockquote><br/>With the first slot I can made SPS of:<br/>"TCX Converter - The multiconverter tool", "Eye4" (packed twice)<br/>"MS ICE" and enhance "FileBot" (msi instaler)<br/><br/><br/>With the second slot I can made SPS of:<br/>"UltraVNC viewer" (rename and delete files)<br/>Erase the "$PLUGINSDIR" (directory of remaining  setup files, OpenCandy, etc).<br/>Perhaps make "UltraStar" automatically portable as you explain in the "<a href="http://www.ugmfree.it/Forum/messages.aspx?TopicID=35" target="_blank" rel="nofollow">Portable Emule</a>"</blockquote><br/>I have around 25 more apps to add via sps once the script engine is in place! Can't wait to finally get all my apps auto updated, even if via my own sps, far easier than d/l, extract copy/paste, test!<br/><br/>Any chance phase one, double unpack, will arrive in the first half of this year?<br/><br/>BTW, is it just me or is there a problem with this site? text is running off the side of the page and I'm having to scroll right to read longer posts. I never had this issue before. It also happens on my android phone.<br/><i>edited by sl23 on 03/02/2016</i>]]></description>
<pubDate>Wed, 03 Feb 2016 00:50:26 GMT</pubDate>
</item>
<item>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=415</link>
<title>Message from VVV_Easy_Symenu</title>
<description><![CDATA[The SPS scripting engine is a very good new.<br/><br/><br/>With the first slot I can made SPS of:<br/>"TCX Converter - The multiconverter tool", "Eye4" (packed twice)<br/>"MS ICE" and enhance "FileBot" (msi instaler)<br/><br/><br/>With the second slot I can made SPS of:<br/>"UltraVNC viewer" (rename and delete files)<br/>Erase the "$PLUGINSDIR" (directory of remaining  setup files, OpenCandy, etc).<br/>Perhaps make "UltraStar" automatically portable as you explain in the "<a href="http://www.ugmfree.it/Forum/messages.aspx?TopicID=35" target="_blank" rel="nofollow">Portable Emule</a>"<br/><br/>BTW attention to the special characters and syntax with the script interpreter and the SPS Container interpreter: For instance, try to add a message with the word <b>Stealth</b> inside <b>&lt;&gt;</b> in this forum <img src="images/smilies/wink.gif" border=0 alt="wink" />.]]></description>
<pubDate>Tue, 02 Feb 2016 21:24:32 GMT</pubDate>
</item>
<item>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=415</link>
<title>Message from Gianluca</title>
<description><![CDATA[Yes I can but in my opinion this syntax is not elegant.<br/>It's a matter of not reinventing the whell so maybe another syntax, clearer and smarter exists but since I don't know it, I'm asking for something better.]]></description>
<pubDate>Tue, 02 Feb 2016 12:07:34 GMT</pubDate>
</item>
<item>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=415</link>
<title>Message from sl23</title>
<description><![CDATA[SPSFileContentStart<br/>SPSFileContentStop<br/><br/>Is there any reason this couldn't be used as is? Could you code it to look for these two strings to identify blocks of text?]]></description>
<pubDate>Tue, 02 Feb 2016 11:11:53 GMT</pubDate>
</item>
<item>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=415</link>
<title>Message from Gianluca</title>
<description><![CDATA[Sure it'll be part of the SPS Builder too. <br/>In this way you'll be able to test an SPS even in the scripting part too.<br/><br/>I agree with you with a more simple system to introduce the file content and a change in command name too. Moreover an optional switch to define the encoding.<br/>Since you'll be able to introduce multiline string we need a way to define a string terminator.<br/><br/>An hypothesis could be to use magic strings.<br/><br/>create an empty file in ANSI<br/>createFile ANSI {app}\config.ini <br/><br/>create a file with one single line in UTF-8<br/><b>createFile UTF-8 {app}\config.ini <br/><u>SPSFileContentStart</u><br/>unique line<br/><u>SPSFileContentStop</u><br/></b><br/>create a file with multiple lines in default encodind (ANSI)<br/><b>createFile {app}\config.ini <br/><u>SPSFileContentStart</u><br/>first line<br/>second line<br/><u>SPSFileContentStop</u></b><br/><br/>I don't like at all using magic strings as terminator but it is a good way to avoid escaping inside the text. If I use double quotes as terminator and you need to put double quotes inside the text the result will be something like this:<br/><br/>"first line<br/>second line<br/>var a = <b>\"test\"</b><br/>third line"<br/><br/>or worst<br/><br/>"first line<br/>second line<br/>var a = <b>""test""</b><br/>third line"<br/><br/>Some other suggestions?]]></description>
<pubDate>Tue, 02 Feb 2016 08:12:42 GMT</pubDate>
</item>
<item>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=415</link>
<title>Message from sl23</title>
<description><![CDATA[Looks good, from the little I know about this stuff, but seems to perform all the functions we had problems with.<br/>Will this be built into, and form part of the SPS Builder app?<br/><br/>Is there an easier way than this though:<br/>create text file with values inside<br/>    <b>echo.first value=1 &gt;{app}\config.ini</b><br/>    append values to a text file<br/>    <b>echo.second value=2 &gt;&gt;{app}\config.ini</b><br/><br/>When it comes to adding many lines to a config file, perhaps eventually the X-Launcher or I think it was either Cherrytree or Calibre that required a fully populated ini file. This could tedious in such cases. For example adding this to a blank Cherrytree config:<br/><i>edited by sl23 on 03/02/2016</i>]]></description>
<pubDate>Mon, 01 Feb 2016 19:46:22 GMT</pubDate>
</item>
<item>
<link>https://www.ugmfree.it/forum/messages.aspx?TopicID=415</link>
<title>Message from Gianluca</title>
<description><![CDATA[Two words about the future scripting engine.<br/><br/>It should work in two different moments:<br/>1) the first slot represents the moment just after the package download and before the "installation" (we know that SPS for real installs nothing...)<br/>2) the second slot represents the moment after the "installation" and before the linkage to SyMenu.<br/><br/>During the first slot I'm thinking to only add commands to unpack the downloaded package. So you can write something like this:<br/><br/>    <b>7z {package}<br/>    rar {package}<br/>    zip {package}<br/>    innoSetup {package}<br/>    msi {package}</b> (I know it doesn't exist anymore but it will do)<br/><br/>You can apply the unpacker more than once but you have no other command available.<br/><br/>During the second slot you have the app already copied in the target folder so here you need something more complex.<br/>I'm thinking to limit the commands effect to the app root folder and any subfolders for security reasons. So you'll have a placeholder like {app} to refer to the root folder that must always appear.<br/>You are not allowed to go under the {app} folder.<br/>Inside this folder you have a large availability of commands.<br/>I'm thinking to:<br/><br/>    create dir<br/>    <b>md {app}\bin\newFolder</b><br/>    rename dir<br/>    <b>ren {app}\ben\newFolder {app}\ben\oldFolder</b><br/>    remove empty dir<br/>    <b>rd {app}\bin\oldFolder</b><br/>    move/rename file<br/>    <b>move {app}\whatever.exe {app}\whateverRenamed.exe<br/>    move {app}\whatever.exe {app}\bin\whateverRenamed.exe</b><br/>    copy/rename file<br/>    <b>copy {app}\whatever.exe {app}\folder\whateverRenamed.exe</b><br/>    delete file<br/>    <b>del {app}\whatever.exe</b><br/>    create empty text file<br/>    <b>echo. &gt; {app}\config.ini</b><br/>    create text file with values inside<br/>    <b>echo.first value=1 &gt;{app}\config.ini</b><br/>    append values to a text file<br/>    <b>echo.second value=2 &gt;&gt;{app}\config.ini</b><br/><br/>As you've surely observed this is a Windows command subsets. So it is easy to imagine that I'll use the original Windows command to execute the custom instruction after the path conversion. Anyway even if the commands is executed by the Windows shell I'm thinking to forbid the command switches, always for security reasons. So you can only write the pure commands without parameters.<br/><br/>It's only a draft but I'm really interested in you points of view.<br/><br/>Let me know.]]></description>
<pubDate>Mon, 01 Feb 2016 18:25:48 GMT</pubDate>
</item>
</channel>
</rss>
