I have modified my installer to use the Verdana font. However, I notice that when it completes the file Verdana_1.TFT remains in _TempLaunchFolder so the folder is not deleted at the end of the install. I'm surprised the font file is needed since Verdana is a standard Windows font. There is no AV software on the machine. Is there any way to have this file deleted when the installer ends? I am using SUF 9.5.0.0.
↧
Verdana_1.TFT not being deleted from _TempLaunchFolder
↧
Grid in SUF?
I found an LUA Grid object in GitHub:
https://github.com/syntruth/Lua-Grid
It contains the code for creating the abstract Grid in memory, but does not display it. Has anyone created a Grid display for SUF?
Thanks.
https://github.com/syntruth/Lua-Grid
It contains the code for creating the abstract Grid in memory, but does not display it. Has anyone created a Grid display for SUF?
Thanks.
↧
↧
Manual Error - Missing details for returned data for Tree.GetChildren
Hi. The manual entry for Tree.GetChildren does not mention that it returns "Checked" status.
Version: AMS 8.3.0.0
Version: AMS 8.3.0.0
↧
File.Copy produces 0KB files and LastError shows "Aborted by user"
Hi. I have a function wich copies a few files from one folder to another and I noticed that most times the file in the destination has 0KB. App.LastError shows "Aborted by User" but I did not abort anything.
The copy line:
File.Copy(GAMEFOLDER.."\\GAMEDATA\\PCBANKS"..tblP ath.Filename..tblPath.Extension, GAMEFOLDER.."\\NMSManager\\Mods"..tblPath.Filenam e..tblPath.Extension, false, false, false, true, nil);
Any idea why it does create 0KB files and say aborted by user? I tried it with and without admin rights (copying in c:\program files).
the debug window shows this:
[71]: File.Copy(GAMEFOLDER.."\\GAMEDATA\\PCBANKS"..tblP ath.Filename..tblPath.Extension, GAMEFOLDER.."\\NMSManager\\Mods"..tblPath.Filenam e..tblPath.Extension, false, false, false, true, nil);
TRACE: LastError = 0 ("Success.")
TRACE: LastError = 0 ("Success.")
TRACE: LastError = 0 ("Success.")
TRACE: LastError = 0 ("Success.")
TRACE: LastError = 0 ("Success.")
TRACE: LastError = 1027 ("Operation aborted by user.")
[72]: error = Application.GetLastError();
This is the whole loop for the copy process:
when I copy a single file it works fine but in this loop it seems to abort before the copy process is finished?
I use 8.3.0.0 and the patchnotes mention a fix for File.Copy
(Fix: Fixed a couple issues in the 'File.Copy' action where the 'AbortOnFail' parameter wasn't working properly, and progress wasn't handled correctly upon failure.)
Is there still something broken?
The copy line:
File.Copy(GAMEFOLDER.."\\GAMEDATA\\PCBANKS"..tblP ath.Filename..tblPath.Extension, GAMEFOLDER.."\\NMSManager\\Mods"..tblPath.Filenam e..tblPath.Extension, false, false, false, true, nil);
Any idea why it does create 0KB files and say aborted by user? I tried it with and without admin rights (copying in c:\program files).
the debug window shows this:
[71]: File.Copy(GAMEFOLDER.."\\GAMEDATA\\PCBANKS"..tblP ath.Filename..tblPath.Extension, GAMEFOLDER.."\\NMSManager\\Mods"..tblPath.Filenam e..tblPath.Extension, false, false, false, true, nil);
TRACE: LastError = 0 ("Success.")
TRACE: LastError = 0 ("Success.")
TRACE: LastError = 0 ("Success.")
TRACE: LastError = 0 ("Success.")
TRACE: LastError = 0 ("Success.")
TRACE: LastError = 1027 ("Operation aborted by user.")
[72]: error = Application.GetLastError();
This is the whole loop for the copy process:
Code:
-- Get installed Mods tblResults = nil; tblResults = File.Find(GAMEFOLDER.."\\GAMEDATA\\PCBANKS", "_*.pak", false, false, nil, nil); if tblResults ~= nil then for i,v in pairs(tblResults) do tblPath = nil; tblPath = String.SplitPath(v); -- Copy installed Mods to manager folder if not already existent tblModResult = nil; tblModResult = File.Find(GAMEFOLDER.."\\NMSManager\\Mods\\", tblPath.Filename..tblPath.Extension, false, false, nil, nil); if tblModResult == nil then -- copy mod File.Copy(GAMEFOLDER.."\\GAMEDATA\\PCBANKS\\"..tblPath.Filename..tblPath.Extension, GAMEFOLDER.."\\NMSManager\\Mods\\"..tblPath.Filename..tblPath.Extension, false, false, false, true, nil); error = Application.GetLastError(); if (error ~= 0) then Dialog.Message("Error #"..error, _tblErrorMessages[error], MB_OK, MB_ICONEXCLAMATION); end -- copy .toc File.Copy(GAMEFOLDER.."\\GAMEDATA\\PCBANKS\\"..tblPath.Filename..".toc", GAMEFOLDER.."\\NMSManager\\Mods\\"..tblPath.Filename..".toc", false, false, false, true, nil); end -- add to Modlist Tree.InsertNode("ModsList", (Tree.GetChildCount("ModsList", "0"))+1, {Text=tblPath.Filename,Data=GAMEFOLDER.."\\NMSManager\\Mods\\"..tblPath.Filename..tblPath.Extension,Checked=true}); end end
I use 8.3.0.0 and the patchnotes mention a fix for File.Copy
(Fix: Fixed a couple issues in the 'File.Copy' action where the 'AbortOnFail' parameter wasn't working properly, and progress wasn't handled correctly upon failure.)
Is there still something broken?
↧
Copy Text to Clipboard from currently selection
Hi all, I need to get the text from a currently selection of text, on notepad, browser or everywhere. Do you know the code to copy it into the clipboard?
Actually I can do this but only into AMS, by using an input box as following:
Thanks for help me.
Actually I can do this but only into AMS, by using an input box as following:
Code:
Input.SetSelection("Input1", 1, -1); Input.Copy("Input1");
↧
↧
Zipex callback function help needed
hi , i new on plugin and callbackoption make me problem with progress bar.
simply i unpack an archive with:
ZipEx.ExtractRAR(_SourceFolder .. "\\files.rar", _SourceFolder .. "\\testextract", "testpass", "");
error = Application.GetLastError();
if (error ~= 0) then
Dialog.Message("Error", _tblErrorMessages[error], MB_OK, MB_ICONEXCLAMATION);
else
Dialog.Message("Text", "Text");
end
and this works good but no Progress indicator shown.
in examplecode callbackoption are function to make indicator possible:
function FilesCallback(_SourceFolder)
if (status == ZipEx.GENERAL) then
-- general progress
Progress.SetText("ProgressBar", path);
Progress.SetCurrentPos("ProgressBar", value);
elseif (status == ZipEx.COMPRESSING) then
-- compressing/decompressing files
Label.SetText("CurrentFile", path..", ratio="..value.."% compressed");
elseif (status == ZipEx.ADDING) then
-- adding files
Label.SetText("CurrentFile", path..", size="..value.." bytes");
end
end
my problem ist to join the 2 parts :
on first line with path:
function FilesCallback(_SourceFolder .. "\\files.rar", "35", "0", )
results bad syntax and i no idea why. Okay i alive 27 hour without sleep but this i not understand.
please give me a way on the succesroad.
simply i unpack an archive with:
ZipEx.ExtractRAR(_SourceFolder .. "\\files.rar", _SourceFolder .. "\\testextract", "testpass", "");
error = Application.GetLastError();
if (error ~= 0) then
Dialog.Message("Error", _tblErrorMessages[error], MB_OK, MB_ICONEXCLAMATION);
else
Dialog.Message("Text", "Text");
end
and this works good but no Progress indicator shown.
in examplecode callbackoption are function to make indicator possible:
function FilesCallback(_SourceFolder)
if (status == ZipEx.GENERAL) then
-- general progress
Progress.SetText("ProgressBar", path);
Progress.SetCurrentPos("ProgressBar", value);
elseif (status == ZipEx.COMPRESSING) then
-- compressing/decompressing files
Label.SetText("CurrentFile", path..", ratio="..value.."% compressed");
elseif (status == ZipEx.ADDING) then
-- adding files
Label.SetText("CurrentFile", path..", size="..value.." bytes");
end
end
my problem ist to join the 2 parts :
on first line with path:
function FilesCallback(_SourceFolder .. "\\files.rar", "35", "0", )
results bad syntax and i no idea why. Okay i alive 27 hour without sleep but this i not understand.
please give me a way on the succesroad.
↧
Add DLL to GAC (Global Assembly Cache)?
Is there a way to add a DotNet DLL to the GAC (Global Assembly Cache) on a target machine without shelling out to GACUTIL.EXE? GACUTIL.EXE is not always installed on a customer's machine. Thanks.
↧
Error 3020: Error adding file to archive
There seems to be a new bug introduced in SUF 9.5.1.0 because I never got this error before upgrading. About 50% of the time when building a project I am getting this error:
Error 3020: Error adding file to archive: myproject.exe (...\_ir_sf_build_0\IRDATA.ARC) (5)
If exit SUF and restart a number of times eventually it will build correctly.
Is this a known problem?
Error 3020: Error adding file to archive: myproject.exe (...\_ir_sf_build_0\IRDATA.ARC) (5)
If exit SUF and restart a number of times eventually it will build correctly.
Is this a known problem?
↧
Testing forum posting and uploading
This is a test post to see how the new forums are working.
If any of you would care to add a reply and try uploading an attachment etc., please let us know if you run into any problems. If things are totally busted and you can't reply here, then please use our contact page at https://www.indigorose.com/contact/ to let us know what didn't work!
If any of you would care to add a reply and try uploading an attachment etc., please let us know if you run into any problems. If things are totally busted and you can't reply here, then please use our contact page at https://www.indigorose.com/contact/ to let us know what didn't work!
↧
↧
One time installer(exe file) and Serial number.
Dear All,
Since I'm using Setup factory long time but this is my first post in this forum.
Using Version : Setup Factory 9.3.2.0
I got requirement from my project manager.
We distribute our setup file through USB, CD or download from our site.
1. This setup file must be install in only one system and the serial number also install in one time purpose only. After installation complete this setup file and serial number must be expired.
How to create a one time installer and one time use serial number?
Please guide me to achieve this requirement.
Thanks,
Swami
Since I'm using Setup factory long time but this is my first post in this forum.
Using Version : Setup Factory 9.3.2.0
I got requirement from my project manager.
We distribute our setup file through USB, CD or download from our site.
1. This setup file must be install in only one system and the serial number also install in one time purpose only. After installation complete this setup file and serial number must be expired.
How to create a one time installer and one time use serial number?
Please guide me to achieve this requirement.
Thanks,
Swami
↧
Files are in use
Good Morning,
The folder contains a lot of EXE files.
How do I know if one or more files are in use?
I need something like this...
Test = File.IsInUse(_WindowsFolder.."\\*.exe");
Thanks
The folder contains a lot of EXE files.
How do I know if one or more files are in use?
I need something like this...
Test = File.IsInUse(_WindowsFolder.."\\*.exe");
Thanks
↧
How to find duplicates in a table with subtables?
Hi. I created a table with subtables containing filenames. Is there a fast/easy way to check if any subtable has the same file as another subtable in it?
It should check if any mod uses the same files to warn the user that modx and mody modify the same file and that it could cause problems.
It looks like this
MyTable
-->Modname1
------>File1
------>File2
------>File3
------>File4
-->Modname2
------>File1
------>File5
------>File6
-->Modname3
------>File1
------>File2
------>File7
------>File9
Now it should check if File1 is in any other table (Modname1-3).
I tried some nested for i,v in pairs(MyTable) do loops but it did not work well so far. Any ideas how to do this?
It should check if any mod uses the same files to warn the user that modx and mody modify the same file and that it could cause problems.
It looks like this
MyTable
-->Modname1
------>File1
------>File2
------>File3
------>File4
-->Modname2
------>File1
------>File5
------>File6
-->Modname3
------>File1
------>File2
------>File7
------>File9
Now it should check if File1 is in any other table (Modname1-3).
I tried some nested for i,v in pairs(MyTable) do loops but it did not work well so far. Any ideas how to do this?
↧
Can you get the name of a subtable as string?
Hi. I have something like this:
MyTable
-->Modname1
------>File1
------>File2
------>File3
------>File4
-->Modname2
------>File1
------>File5
------>File6
-->Modname3
------>File1
------>File2
------>File7
------>File9
After some loops and string.find I got a result and want to save which Subtable (modname1-3) the result was found in. But when I try to use the subtable AMS shows an error and tells me I need to enter a string (cause its a table). Is it possible to get the name of the table as string without having to add a new sub entry for Name=x ?
MyTable
-->Modname1
------>File1
------>File2
------>File3
------>File4
-->Modname2
------>File1
------>File5
------>File6
-->Modname3
------>File1
------>File2
------>File7
------>File9
After some loops and string.find I got a result and want to save which Subtable (modname1-3) the result was found in. But when I try to use the subtable AMS shows an error and tells me I need to enter a string (cause its a table). Is it possible to get the name of the table as string without having to add a new sub entry for Name=x ?
↧
↧
Custom Icon Doesn't appear on Desktop
My setup file has three .exe's, each with a custom icon to be placed on the desktop. Two of the three icons appear just fine. The next icon does not appear, even though I have done everything exactly as the other two. Any suggestions as to where to look for the source of this problem? (I've used SUF 6, 7, 8, 9, and 9.2 and never have had this prolem before.
↧
Get and set environment variables from AMS8.5
hi everyone,
is it possible to get and set environment variables from AMS8.5?
is it possible to get and set environment variables from AMS8.5?
↧
how to get hdd C:\ disk free space AMS8.5
how to get hdd C:\ disk free space AMS8.5?
↧
HTTP commands
Hey IR, how does the HTTP commands work, is there any pre cashe, temp files or other created when and while using these functions? I am trying to create a little app for a web service what is 100% off the record, it wont even let user with windows 10 and a likes access it, so I trying to make accessing it also as clean and privacy safe as I can my side, I don't think its that possible as anyone trying to interjecting my code would be able to do things but still I enjoy encryption and privacy tasks at times and this was one I was asked to take up,
I can use the IE plugin as that tracks the **** out of things, well windows these days is just a hunnie pot of tracking, storing and keylogging but I not here to talk about windows 10![Smile]()
I know I can set my own temp and my own headers with wget but interesting in AMS, this is not important no major project I was asked can it be done so I said I give it a look in to, here is me
asking and looking in to it![Smile]()
I don't have source code of the api the user wants me to trigger so I just need to make sure the http requests are clean as ever but also do trace to the end user at all.
I can use the IE plugin as that tracks the **** out of things, well windows these days is just a hunnie pot of tracking, storing and keylogging but I not here to talk about windows 10

I know I can set my own temp and my own headers with wget but interesting in AMS, this is not important no major project I was asked can it be done so I said I give it a look in to, here is me
asking and looking in to it

I don't have source code of the api the user wants me to trigger so I just need to make sure the http requests are clean as ever but also do trace to the end user at all.
↧
↧
Error msflxgrd.ocx
Error register Mshflxgd.ocx windows 7
↧
Icon association with a particular .exe
Where, in SUF (9.2), is a particular icon associated with a specific .exe? My project has 3 icons, each with a particular .exe. But where are these associated. (I've done this correctly in the past, but 87 year old memory has forgotten how?) I've used File Properties/Details/OpenWith - Change, then have browsed to the associated .exe in my %AppFolder% but this remembers the last designated.exe for all three icons. I know how to right-click on the icon on the desktop to access Properties, then designate the path to the associated .exe, but I can't expect my customers to do this. What am I missing (in my thought process)?
How much of the olympics did you watch?
Separate e-mail has questions regarding your security software.
HalWade
How much of the olympics did you watch?
Separate e-mail has questions regarding your security software.
HalWade
↧
test
↧