Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Component()
- {
- var page = gui.pageWidgetByObjectName("Dialog2");
- }
- Component.prototype.isDefault = function()
- {
- // select the component by default
- return true;
- }
- Component.prototype.createOperations = function()
- {
- try {
- // call the base create operations function
- component.createOperations();
- //component.addOperation("Execute", "touch", "install.log", "UNDOEXECUTE", "rm", "install.log")
- component.addOperation(\"CreateShortcut\", \"@TargetDir@/uninstall.exe\", \"@HomeDir@/Start Menu/$XML_STARTMENUDIR/uninstall.lnk\");
- } catch (e) {
- print(e);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement