View forum topic
List of forum topicsSubject: Scripts not compiling anymore
I believe something happens to my copy of CreateInstall 5.7.1 because now when I try to "Run" my installers I get:
Compile error [0x3C 60]
C:\Users\Andrea\AppData\Local\Temp\gentee01\install.g
[Line: 14 Pos: 6] The value has the different type from the definition of the function '@split'
12: arr items of str
13: macrox_do( in = "#setuppath#")
14: in.split( items, ';', $SPLIT_NOSYS )
15: fornum i, *items
16: {
17: if items[i].search( "Maya2017", $QS_IGNCASE )
Here is the script:
==================================================================
func install
{
close( "process", "maya" )
if check( "lockfile", "", 0, "ischeck", "Some of the file already exists on disk and are locked" )
{
}
globgets( 0 )
{
uint i
str in
arr items of str
macrox_do( in = "#setuppath#")
in.split( items, ';', $SPLIT_NOSYS )
fornum i, *items
{
if items[i].search( "Maya2017", $QS_IGNCASE )
{
macrox_setstr( "setuppath", items[i] )
str stemp
str shortPath
macrox_do( stemp = "#setuppath#")
shortPath.fgetdir (stemp)
macrox_setstr( "setuppath", shortPath )
break
}
else
{
macrox_setstr( "setuppath", "C:\\Program Files\\Autodesk\\Maya2017")
}
}
}
varsetif( 20 )
label dlgid0
if !dlg_show( %{447,835} ) : goto dlgid0
if istrue( 882 )
{
globsets( 857 )
}
if macrox_getint("oneDir")
{
macrox_setstr("docpath", macrox_do( "#setuppath#" ))
macrox_setstr("licensePath", macrox_do( "#setuppath#" ))
}
label dlgid1
if !dlg_show( %{1767,1923,2102} ) : goto dlgid0
}
==================================================================
I have been using the .ci file and the included script since October 2017 when I checked it in a repository, so I'm sure the file didn't change. I have removed CreateInstall and reinstalled it without any improvement. I'm running the software on Windows 7 Pro x64.
Can I have some help, please?
Thank you in advance
Send your old CreateInstall project file and the new .ci project file which cannot be compiled to info@createinstall.com.
January 16, 2025 Installer CreateInstall 8.11.1 was released.
June 19, 2024 Installer CreateInstall 8.11.0 was released. read more
November 13, 2022 Installer CreateInstall 8.10.1 was released.
May 21, 2022 Installer CreateInstall 8.10.0 was released.
September 25, 2021 Installer CreateInstall 8.9.0 was released.
July 15, 2021 Installer CreateInstall 8.8.1 was released.