SetBase "General Conferences"
SetRelative FromBase Path ""

New Relative "" "Export Tools" "" Conference 2008 0 0 +P
Put Previous 8301 14 72
Put Item Previous  8082 0 "Administrator"
Put Permissions Relative "Export Tools" 1012 7 0 1006 14 0 1004 14 0 2008 7 0 1000 6 0 1002 6 0 1001 6 0 1007 7 0 2009 7 6 2007 6 0 2016 6 0
SetBase FromBase Path "Export Tools"
SetRelative FromBase Path ""
Put Relative ""  900 0 901 238 902 465 903 496 904 932
Put Relative ""  13005.0 7 250 13074.0 7 2 13084.0 7 1 13082.0 7 112 13083.0 0 "general_bkgd.png"

New Relative "" "FirstClass Export Tool" "" TempS 2008 195 115 8921 8921 +P-U+D
Put Previous 8120 7 -535 8140 0 8141 0 9 ""
Put Previous 4 0 "fcas" -V
Put Previous 1000.0 0 "fcexport"
Put Item Previous  8094 14 3386849301
Put Item Previous  8082 0 "Administrator"
Put Item Previous  8121 7 8921
Put Properties Previous 1018 14 -908117984

SetRelative FromBase Path ""

// Upload Rez to Resources Folder of Target Conference
NEW "General Conferences:Export Tools" "fcexport.rez" "" FCF 17044 -1 -1 +X
UPLOAD PREVIOUS "fcexport.rez"
NEW "General Conferences:Export Tools" "FCASAppRegistration.rez" "" FCF 17044 -1 -1 +X
UPLOAD PREVIOUS "FCASAppRegistration.rez"

COMPILE "General Conferences:Export Tools"

// Upload the fcx file to the Online Applications Folder
SETBASE "Clustered Services:FCAS Config:Online Applications"
SETRELATIVE FROMBASE PATH ""

// Remove existing version
IF OBJECT RELATIVE "fcexport.fcx" EXISTS
  REMOVE RELATIVE "fcexport.fcx"
ENDIF

NEW RELATIVE "" "fcexport.fcx" "FCAS File" FCF 17044 0 0 -U
UPLOAD previous "fcexport.fcx"

// Check if registration app exists and add it if it doesn't
IF OBJECT RELATIVE "registration.fcx" MISSING
  NEW RELATIVE "" "registration.fcx" "FCAS File" FCF 17044 0 0 -U
  UPLOAD previous "registration.fcx"
ENDIF

SETBASE ""
SETRELATIVE FROMBASE PATH ""
