DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Deployment of Diadem 2012 SP1a

Hello,

 

I try to deploy Diadem 2012 SP 1a on Diadem 2012.

The installation is "working" but the installatin gives a 1603 error code back. The problem is the folder examples in %programfiles(x86)%\National Instruments\DIAdem2012\examples. Setup empties the folder and "reset" access rights to no access for all.

 

The commandline is: setup.exe DIAdem_custom_SP1_DE /q /Acceptlicenses Yes /log "C:\install.log" /r:n

My customization file DIAdem_custom_SP1_DE:

[UserInfo]
Name=<company>

Company=<company>
DefaultIsEval=1

 

[Features]

FeatCore_CLA.DIA12.0.CLA=Local

FeatTut_CLA.DIA12.0.CLA=Local

FeatExam_CLA.DIA12.0.CLA=Local

LVRTE.LV.RTE2011=Absent

 

[Directories]
<RootDirectory1>=%ProgramFiles(X86)%\National Instruments\
<RootDirectory2>=%ProgramFiles(X86)%\National Instruments\DIAdem 2012\

 

[Settings]
;WelcomeAutoAdvance=1

 

[DisableDialogs]

;UserInfo

;FeatureInfo1

;SingleDirectory

;InstallationType

;FeatureTree

;License

;License2

;NICertificate

;WinFastStartup

;ConfirmStart

;End

[PhoneHome]

DefaultState=0

Visible=0

 

A manually installation works without problem.

 

Any hints to install the service pack without problems?

0 Kudos
Message 1 of 5
(6,258 Views)

Hello,

 

good to hear that the manual installation with installer UI works well.

 

To help our customers, it's good to know some details around an existing problem: Do you need to update only your local machines or are you working as a "DIAdem Admin" in a company and you have to maintain several computers?

 

I guess that you have done the 1st installation of DIAdem 2012 silently with a specfile. Then you should run an update (=> DIAdem 2012 SP1a) without a specfile. Reason: All the intelligence which installer-parts should be updated and have internal dependencies to each other are built in the installer. In update-mode no feature is added - only necessary installer parts are updated, so that you will get an updated installation of your original specfile installation.

 

Could you please try this? ...\setup.exe /q /acceptlicenses yes /r:n

 

Thanks,

- Dieter

0 Kudos
Message 2 of 5
(6,243 Views)

Hello,

 

thanks for your answer.

The problem still exists if I remove the specfile from installation call.

I'm just a packager who should install the SP 1 on an existing "SP 0". There are several computers with local installations to be updated. The deployment system is DSM but I think the problem also occours on SCCM.

 

The first deployment was done by a silent installation using a specfile with the more or less the same settings with my above mentioned file.

 

The installation is using a system account for installation. As I mentioned a manually installation works ithout any problems. The access is NOT "stolen".

 

This is a part of the logfile (Diadem English SP 1). The complete logfile is about 40 MB.

--------------------------------------------------------------------

MSI (s) (30:2C) [08:53:16:341]: Executing op: SetTargetFolder(Folder=C:\Program Files (x86)\National Instruments\DIAdem 2012\Examples\Data\)

MSI (s) (30:2C) [08:53:16:341]: Executing op: SetSourceFolder(Folder=1\DAdm2012\Examples\Data\|DIAdem 2012\Examples\Data\)

MSI (s) (30:2C) [08:53:16:341]: Executing op: FileCopy(SourceName=WRD_REF.TDX,SourceCabKey=WRD_REF.TDX.DIA12.0.CLA.DOC,DestName=WRD_REF.TDX,Attributes=0,FileSize=30000,PerTick=65536,,VerifyMedia=1,,,,,CheckCRC=0,,,InstallMode=126353408,HashOptions=0,HashPart1=52679474,HashPart2=-1503362014,HashPart3=-308797472,HashPart4=255446916,,)

MSI (s) (30:2C) [08:53:16:341]: File: C:\Program Files (x86)\National Instruments\DIAdem 2012\Examples\Data\WRD_REF.TDX; To be installed; Won't patch; No existing file

MSI (s) (30:2C) [08:53:16:341]: Source for file 'WRD_REF.TDX.DIA12.0.CLA.DOC' is compressed

MSI (s) (30:2C) [08:53:16:641]: Note: 1: 1303 2: C:\Program Files (x86)\National Instruments\DIAdem 2012\Examples

MSI (s) (30:2C) [08:53:16:641]: Product: NI DIAdem 2012 Documentation (Classic) -- Error 1303. The installation has insufficient privileges to access this directory: C:\Program Files (x86)\National Instruments\DIAdem 2012\Examples.  The installation cannot continue.  Log on as administrator or contact your system administrator.

Error 1303. The installation has insufficient privileges to access this directory: C:\Program Files (x86)\National Instruments\DIAdem 2012\Examples.  The installation cannot continue.  Log on as administrator or contact your system administrator.

MSI (s) (30:2C) [08:53:16:661]: User policy value 'DisableRollback' is 0

MSI (s) (30:2C) [08:53:16:671]: Machine policy value 'DisableRollback' is 0 Action ended 08:53:16: InstallFinalize. Return value 3.

 

MSI (s) (30:2C) [08:53:19:591]: Product: NI DIAdem 2012 Documentation (Classic) -- Installation operation failed.

MSI (s) (30:2C) [08:53:19:591]: Windows Installer installed the product. Product Name: NI DIAdem 2012 Documentation (Classic). Product Version: 12.0.15361. Product Language: 9. Manufacturer: National Instruments. Installation success or error status: 1603.

--------------------------------------------------------------------

 

NI DIAdem 2012 Documentation (Classic) is the only part of the installation which fails.

The access to examples folder in the diadem directory is still unavailable after the installation of SP 1.

 

0 Kudos
Message 3 of 5
(6,210 Views)

Hello derhans,

 

could you please contact me (dieter.peuser@ni.com) directly to discuss some details.

After all I would like to post the solution into this thread.

 

Thanks,

- Dieter

0 Kudos
Message 4 of 5
(6,181 Views)

Hello,

 

it seems that we have found the reason for the problems you described above:

 

You are installing under a special system/service account. Then you should consider the following: 

If you are displaying the installer UI during the installation, everything works well. If you are installing in quite mode, then some installer actions like "DataFinder.exe /quit" are not executed, maybe because per definition of the system account. This leads to the problems you described, because a running DataFinder sometimes could block file/folder operations in its search area. 

 

Workaround: Please quit the DataFinder before you proceed installer operations with: "C:\Program Files (x86)\National Instruments\Shared\DataFinderDesktop\bin\DataFinder.exe /quit"

 

Hope this helps,

Thanks,

- Dieter

0 Kudos
Message 5 of 5
(6,119 Views)