editfile not working sometimes

Got a problem you cannot solve? Try here.
lewisv
Posts: 20
Joined: Wed Oct 29, 2008 9:31 am

editfile not working sometimes

Postby lewisv » Fri Sep 11, 2009 10:01 am

Most of the time the editfile plug in works just fine, but seemingly randomly, it does not seem to work. The rest of the install works fine, just the edit file does not.

I am at a loos, about why
Here is my code

if Variable REMOVE Equals TRUE
-- files are installed here
else
[compiler if Variable BUILDMODE Equals PATCH]

Apply Patch (get result into variable SUCCESS)

[compiler else]
if Variable ADVERTISE Equals TRUE
Apply Advertised (get result into variable SUCCESS)
else

Apply Install (get result into variable SUCCESS)
if Variable SUCCESS not Equals ERROR
if Variable SUCCESS not Equals CANCEL
if Variable SELECTED Equals TRUE
end
end
end
end
[compiler end]
end
if Variable ADVERTISE not Equals TRUE
if Variable SUCCESS not Equals ERROR
if Variable SUCCESS not Equals CANCEL
Comment: Change the jail config file if needed
Get Component Nitorco Guardian Suite\\Jail Guardian Selection State into Variable SELECTED
if Variable SELECTED Equals TRUE
EditFile $TARGETDIR$\\jail.exe.config, Replace "{CONNECTION_STRING}" with "$connJAIL_STR$"
EditFile $TARGETDIR$\\jail.exe.config, Replace "{USE_VIDEO}" with "$cbVIDEO$"
end
end
end
Set Variable PROGRESS to 100
end

Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 48 guests