fix syntax errors 6
This commit is contained in:
parent
ad80e51ca3
commit
c50eeddb20
deploy/installer
@ -14,9 +14,10 @@ Component.prototype.createOperations = function()
|
|||||||
* Cleanup AppData and registry
|
* Cleanup AppData and registry
|
||||||
*/
|
*/
|
||||||
component.addElevatedOperation("Execute","echo do nothing","UNDOEXECUTE","cmd /C reg delete HKEY_CURRENT_USER\Software\nheko\nheko /f");
|
component.addElevatedOperation("Execute","echo do nothing","UNDOEXECUTE","cmd /C reg delete HKEY_CURRENT_USER\Software\nheko\nheko /f");
|
||||||
if( installer.environmentVariable("LOCALAPPDATA") != "" )
|
var localappdata = installer.environmentVariable("LOCALAPPDATA");
|
||||||
|
if( localappdata != "" )
|
||||||
{
|
{
|
||||||
component.addElevatedOperation("Execute","echo do nothing","UNDOEXECUTE","cmd /C rmdir %LOCALAPPDATA%\nheko /f");
|
component.addElevatedOperation("Execute","echo do nothing","UNDOEXECUTE","cmd /C rmdir "+localappdata+"\nheko /f");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -35,8 +35,8 @@ Component.prototype.createOperations = function()
|
|||||||
var localappdata = installer.environmentVariable("LOCALAPPDATA");
|
var localappdata = installer.environmentVariable("LOCALAPPDATA");
|
||||||
if( localappdata != "" )
|
if( localappdata != "" )
|
||||||
{
|
{
|
||||||
var command = "cmd /C rmdir " localappdata+"\nheko /f";
|
|
||||||
component.addElevatedOperation("Execute","echo do nothing","UNDOEXECUTE",command);
|
component.addElevatedOperation("Execute","echo do nothing","UNDOEXECUTE","cmd /C rmdir "+localappdata+"\nheko /f");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user