fix syntax errors 5

This commit is contained in:
MTRNord 2017-10-02 22:09:27 +02:00
parent 0641287c34
commit ad80e51ca3
No known key found for this signature in database
GPG Key ID: E5B89311FAB91B9F

View File

@ -35,7 +35,8 @@ Component.prototype.createOperations = function()
var localappdata = installer.environmentVariable("LOCALAPPDATA");
if( localappdata != "" )
{
component.addElevatedOperation("Execute","echo do nothing","UNDOEXECUTE","cmd /C rmdir " localappdata + "\nheko /f");
var command = "cmd /C rmdir " localappdata+"\nheko /f";
component.addElevatedOperation("Execute","echo do nothing","UNDOEXECUTE",command);
}
}
}