[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesupport/kdewin-installer/shared
From:       Ralf Habacker <Ralf.Habacker () freenet ! de>
Date:       2010-07-30 15:53:26
Message-ID: 20100730155326.8B836AC782 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1157273 by habacker:

vcredist needs a /q option when already installed, otherwise vcredist hangs

 M  +4 -1      installer.cpp  


--- trunk/kdesupport/kdewin-installer/shared/installer.cpp #1157272:1157273
@@ -199,7 +199,10 @@
 #ifdef Q_OS_WIN
     QProcess proc;
     proc.setWorkingDirectory(QDir::tempPath());
-    proc.start (fileName, QStringList ( "/Q" ) );   // FIXME: don't hardcode command line parameters!
+    QStringList params( "/Q" );
+    if (fileName.contains("vcredist"))
+        params << "/p";
+    proc.start (fileName, params);   // FIXME: don't hardcode command line parameters!
     if ( !proc.waitForStarted() )
         return false;
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic