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
editfile not working sometimes
Who is online
Users browsing this forum: No registered users and 48 guests