Changeset 49039 in vbox for trunk/src/VBox/Installer
- Timestamp:
- Oct 10, 2013 6:27:32 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 89816
- Location:
- trunk/src/VBox/Installer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/install_service/generate_service_file.cpp
r44529 r49039 585 585 else 586 586 { 587 const char *pcszFileName = 588 RTPathFilename(pParameters->pcszCommand); 589 const char *pcszExtension = 590 RTPathExt(pParameters->pcszCommand); 587 const char *pcszFileName = RTPathFilename(pParameters->pcszCommand); 588 const char *pcszSuffix = RTPathSuffix(pParameters->pcszCommand); 591 589 char *pszName = RTStrDupN(pcszFileName, 592 pcsz Extension593 ? pcsz Extension- pcszFileName590 pcszSuffix 591 ? pcszSuffix - pcszFileName 594 592 : RTPATH_MAX); 595 593 bool fRc; -
trunk/src/VBox/Installer/win/Stub/VBoxStub.cpp
r45332 r49039 626 626 627 627 RTEXITCODE rcExit; 628 const char *psz Ext = RTPathExt(szPkgFile);629 if (RTStrICmp(psz Ext, ".msi") == 0)628 const char *pszSuff = RTPathSuffix(szPkgFile); 629 if (RTStrICmp(pszSuff, ".msi") == 0) 630 630 rcExit = ProcessMsiPackage(szPkgFile, pszMsiArgs, fLogging); 631 else if (RTStrICmp(psz Ext, ".cab") == 0)631 else if (RTStrICmp(pszSuff, ".cab") == 0) 632 632 rcExit = RTEXITCODE_SUCCESS; /* Ignore .cab files, they're generally referenced by other files. */ 633 633 else
Note:
See TracChangeset
for help on using the changeset viewer.