How to deploy package that doesn't distinguish between 32 and 64 bit editions
I have an app (PDF-Xchange) that doesn't distinguish between 32 and 64 bit versions in the KBox software inventory. How do I create separate managed installs for these editions?
Thanks,
djz
P.S. I was going to save this for a "stump the trainer" webinar but I didn't see any coming up soon.
Thanks,
djz
P.S. I was going to save this for a "stump the trainer" webinar but I didn't see any coming up soon.
0 Comments
[ + ] Show comments
Answers (5)
Please log in to answer
Posted by:
ms01ak
13 years ago
Posted by:
airwolf
13 years ago
Posted by:
ncsutmf
13 years ago
We've just been using a cmd script that checks to see which OS architecture you are using and then calls the appropriate command line based on the results. This works for us whether we have 2 separate installers for each architecture or one installer with different configurations based on architecture. We're using the output of WMIC to determine the architecture, but assuming that XP is 32 bit because the value we are trying to read does not appear to be available in Windows XP (we only have XP 32-bit and Windows 7 32/64 that we support). It may increase the upload/download size, but it works for us.
Here is a sample of the bit that checks the architecture:
Here is a sample of the bit that checks the architecture:
for /f "tokens=2 delims=[]" %%i in ('ver') do (
if "%%i"=="Version 5.1.2600" (
set OS=WinXP
)
)
REM WinXP 32 bit doesn't appear to have the OSArchitecture value in WMI
if "%OS%"=="WinXP" (
set KACE_OS_ARCH=x86
) else (
for /f %%i in ('"%SystemRoot%\System32\wbem\wmic.exe" os get OSArchitecture') do (
if "%%i"=="64-bit" set KACE_OS_ARCH=x64
if "%%i"=="32-bit" set KACE_OS_ARCH=x86
)
)
Posted by:
diverdaveman1
13 years ago
Just some thoughts to pass along...
We have application(s) as well where there are 32 and 64 bit versions, however, the software shows the same name for both versions in KACE. Our work around is to edit the MSI file with ORCA - specifically the Product table, Property = ProductName.
I change the ProductName's value to something like this: "ApplicationName_ApplicationVersion_ProductArchitecture". = 'AdobeReader_9.4.6_32bit' or 'AdobeReader_9.4.6_64bit'. It will show up in Add/Remove programs as the name you provide in the ProductName's Value filed in the MSI.
Like airwolf stated - this will help with SQL queries and internal reporting as well.
Dave
We have application(s) as well where there are 32 and 64 bit versions, however, the software shows the same name for both versions in KACE. Our work around is to edit the MSI file with ORCA - specifically the Product table, Property = ProductName.
I change the ProductName's value to something like this: "ApplicationName_ApplicationVersion_ProductArchitecture". = 'AdobeReader_9.4.6_32bit' or 'AdobeReader_9.4.6_64bit'. It will show up in Add/Remove programs as the name you provide in the ProductName's Value filed in the MSI.
Like airwolf stated - this will help with SQL queries and internal reporting as well.
Dave
Comments:
-
Is the MSI edit fully supported by ... MS? If I edit an MSI for Office 2016, will MS support have an issue with this? - MannyL 8 years ago
Posted by:
zookdj
13 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.