diff options
Diffstat (limited to 'release-tools/configurations/pkg_beta/qt.sdk.desktop.500_beta.msvc2010_64/meta/installscript.qs')
-rw-r--r-- | release-tools/configurations/pkg_beta/qt.sdk.desktop.500_beta.msvc2010_64/meta/installscript.qs | 30 |
1 files changed, 11 insertions, 19 deletions
diff --git a/release-tools/configurations/pkg_beta/qt.sdk.desktop.500_beta.msvc2010_64/meta/installscript.qs b/release-tools/configurations/pkg_beta/qt.sdk.desktop.500_beta.msvc2010_64/meta/installscript.qs index dd6e70e..b5fb757 100644 --- a/release-tools/configurations/pkg_beta/qt.sdk.desktop.500_beta.msvc2010_64/meta/installscript.qs +++ b/release-tools/configurations/pkg_beta/qt.sdk.desktop.500_beta.msvc2010_64/meta/installscript.qs @@ -5,16 +5,23 @@ // constructor function Component() { - if (installer.value("os") == "win") - { - } if (component.fromOnlineRepository) { + // Commented line below used by the packaging scripts //%IFW_DOWNLOADABLE_ARCHIVE_NAMES% } } +Component.prototype.isDefault = function() +{ + if (installer.environmentVariable("VS100COMNTOOLS")) { + return true; + } + return false; +} + + checkWhetherStopProcessIsNeeded = function() { } @@ -23,7 +30,7 @@ createShortcuts = function() { var qtStringVersion = "%QT_VERSION%"; // Create a batch file with the development environment - component_root_path = installer.value("TargetDir") + "%TARGET_INSTALL_DIR%"; + var component_root_path = installer.value("TargetDir") + "%TARGET_INSTALL_DIR%"; var batchFileName = component_root_path + "/" + "bin" + "/" + "qtenv2.bat"; var contentString = "echo off\r\n"; contentString += "echo Setting up environment for Qt usage...\r\n"; @@ -59,18 +66,6 @@ createShortcuts = function() component.addOperation( "CreateShortcut", component_root_path + "/bin/linguist.exe", "@StartMenuDir@/%QT_VERSION%/MSVC 2010 (64-bit)/Linguist.lnk"); - - // README - //var notePadLocation = windir + "\\notepad.exe"; - //component.addOperation( "CreateShortcut", - // notePadLocation, - // "@StartMenuDir@/%QT_VERSION%/MSVC 2010 (64-bit)/Linguist.lnk"); - - // Examples & Demos - //component.addOperation( "CreateShortcut", - // component_root_path + "/bin/qtdemo.exe", - // "@StartMenuDir@/%QT_VERSION%/MSVC 2010 (64-bit)/Examples & Demos.lnk"); - } Component.prototype.createOperations = function() @@ -109,8 +104,5 @@ Component.prototype.createOperations = function() Component.prototype.installationFinished = function() { - if (installer.isInstaller() && component.selected) - { - } } |