cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
pwhoriskey
Level 2

FileInUse dialog fails when run from setup.exe. Causes InstallValidate to fail.

I have an installer that will detect a file in use and present the FileInUse dialog if it is run as an msi. If I run it from setup.exe the installation fails during installValidate. I assume it is trying to populate the listbox (see log messages below). If I pull the msi from the temp are and run it with the same command line parameters the setup is supposed to be using, it works fine. Has anyone seen this before? I don't think I have anything special in the setup.exe. (Oh, the setup is set to run as administrator and that seems to work fine. Service gets installed, etc when the file isn't n use)
Any help is appreciated. Thanks. Phil

Verbose log output from the failed install:
MSI (s) (6C:24) [13:18:35:996]: Note: 1: 2228 2: 3: ServiceControl 4: SELECT `Name`,`Wait`,`Arguments`,`Event`, `Action` FROM `ServiceControl`, `Component` WHERE `Component_` = `Component` AND (`Action` = 0 OR `Action` = 1 OR `Action` = 2)
MSI (c) (94:DC) [13:18:36:004]: RESTART MANAGER: Session opened.
MSI (c) (94:DC) [13:18:36:009]: Note: 1: 2262 2: ListBox 3: -2147287038
Action ended 13:18:36: InstallValidate. Return value 3.
Action ended 13:18:36: INSTALL. Return value 3.


The setup.ini as generated and copied from temp:
[Info]
Name=INTL
Version=1.00.000
DiskSpace=8000 ;DiskSpace requirement in KB

[Startup]
CmdLine= ALLUSERS=1 /l* %TEMP%\ExpressorInstallation.log
SuppressWrongOS=N
ScriptDriven=2
ScriptVer=17.0.0.714
DotNetOptionalInstallIfSilent=N
OnUpgrade=0
Product=QlikView Expressor Software
PackageName=QlikviewExpressorFullInstaller.msi
EnableLangDlg=N
LogResults=N
BillBoardType=2
UI=1000
DoMaintenance=N
ProductCode={CBF3CF6A-0973-45E0-899D-ECACB3E4DA84}
ProductVersion=3.9.0.24573
LauncherName=QlikviewExpressorFullInstaller.exe
PackageCode={2548208D-4F12-4648-8738-CD037B0EC648}

[Languages]
RequireExactLangMatch=0x0404,0x0804
RTLLangs=0x0401,0x040d
Default=0x0409
Supported=0x0409

[MsiVersion]

[SupportOSMsi11] ;Supported platforms for MSI 1.1
Win95=1
Win98=1
WinNT4SP3=1

[SupportOSMsi12] ;Supported platforms for MSI 1.2
Win95=1
Win98=1
WinME=1
WinNT4SP3=1

[SupportOS] ;Supported platforms for MSI 2.0
Win95=1
Win98=1
WinME=1
WinNT4SP6=1
Win2K=1

[SupportOSMsi30] ;Supported platforms for MSI 3.0
Win2KSP3=1
WinXP=1
Win2003Server=1

[Win95]
MajorVer=4
MinorVer=0
MinorVerMax=1
BuildNo=950
PlatformId=1

[Win98]
MajorVer=4
MinorVer=10
MinorVerMax=11
BuildNo=1998
PlatformId=1

[WinME]
MajorVer=4
MinorVer=90
MinorVerMax=91
BuildNo=3000
PlatformId=1

[WinNT4SP3]
MajorVer=4
MinorVer=0
MinorVerMax=1
BuildNo=1381
PlatformId=2
ServicePack=768

[WinNT4SP6]
MajorVer=4
MinorVer=0
MinorVerMax=1
BuildNo=1381
PlatformId=2
ServicePack=1536

[Win2K]
MajorVer=5
MinorVer=0
MinorVerMax=1
BuildNo=2195
PlatformId=2

[Win2KSP3]
MajorVer=5
MinorVer=0
MinorVerMax=1
BuildNo=2195
PlatformId=2
ServicePack=768

[WinXP]
MajorVer=5
MinorVer=1
MinorVerMax=2
BuildNo=2600
PlatformId=2

[Win2003Server]
MajorVer=5
MinorVer=2
MinorVerMax=3
BuildNo=2600
PlatformId=2

[0x0409]
0x0409=English (United States)
0x0411=Japanese
0x0401=Arabic (Saudi Arabia)
0x042d=Basque
0x0402=Bulgarian
0x0403=Catalan
0x0804=Chinese (PRC)
0x0404=Chinese (Taiwan)
0x041a=Croatian
0x0405=Czech
0x0406=Danish
0x0413=Dutch (Netherlands)
0x040b=Finnish
0x0c0c=French (Canada)
0x040c=French (France)
0x0407=German (Germany)
0x0408=Greek
0x040d=Hebrew
0x040e=Hungarian
0x0421=Indonesian
0x0410=Italian (Italy)
0x0412=Korean
0x0414=Norwegian (Bokmal)
0x0415=Polish
0x0416=Portuguese (Brazil)
0x0816=Portuguese (Portugal)
0x0418=Romanian
0x0419=Russian
0x0c1a=Serbian (Cyrillic)
0x041b=Slovak
0x0424=Slovenian
0x040a=Spanish (Traditional Sort)
0x041d=Swedish
0x041e=Thai
0x041f=Turkish
[QlikviewExpressorFullInstaller.msi]
CertKey=QlikviewExpressorFullInstaller.isc
Type=1
Location=QlikviewExpressorFullInstaller.msi
CacheRoot=28
CacheFolder=Downloaded Installations
[Setup.bmp]
Type=1
[ISSetupPrerequisites]
PreReq0=Windows Installer 3.1 (x86).prq
PreReq1=Microsoft Visual C++ 2010 Redistributable Package (x86).prq
PreReq2=Microsoft Visual C++ 2008 SP1 Redistributable Package (x64).prq
PreReq3=Microsoft Visual C++ 2008 SP1 Redistributable Package (x86).prq
PreReq4=Microsoft Visual C++ 2010 Redistributable Package (x64).prq
PreReq5=Windows Imaging Component (x86).prq
PreReq6=Windows Installer 3.1 for Windows Server 2003 SP1 (x86).prq
PreReq7=Windows Imaging Component (x64).prq
PreReq8=Windows Installer 3.1 for Windows Server 2003 SP1 (IA64).prq
PreReq9=Windows Installer 3.1 for Windows Server 2003 SP1 (x64).prq
PreReq10=Windows Installer 3.1 for Windows XP (x64).prq
PreReq11=Microsoft .NET Framework 4.0 Full.prq
Labels (1)
0 Kudos
(1) Reply
jose_rodrigues
Level 2

Hi,
Just to let you know that we had the same issue and the solution was to remove the Billboards from the Install shield project. It seems there is a problem with the way the billboards window handles the FilesInUse/Restart Manager dialogs.
We are using Install Shield 2015 and the issue still exists.

Jose Rodrigues

pwhoriskey wrote:
I have an installer that will detect a file in use and present the FileInUse dialog if it is run as an msi. If I run it from setup.exe the installation fails during installValidate. I assume it is trying to populate the listbox (see log messages below). If I pull the msi from the temp are and run it with the same command line parameters the setup is supposed to be using, it works fine. Has anyone seen this before? I don't think I have anything special in the setup.exe. (Oh, the setup is set to run as administrator and that seems to work fine. Service gets installed, etc when the file isn't n use)
Any help is appreciated. Thanks. Phil

Verbose log output from the failed install:
MSI (s) (6C:24) [13:18:35:996]: Note: 1: 2228 2: 3: ServiceControl 4: SELECT `Name`,`Wait`,`Arguments`,`Event`, `Action` FROM `ServiceControl`, `Component` WHERE `Component_` = `Component` AND (`Action` = 0 OR `Action` = 1 OR `Action` = 2)
MSI (c) (94:DC) [13:18:36:004]: RESTART MANAGER: Session opened.
MSI (c) (94:DC) [13:18:36:009]: Note: 1: 2262 2: ListBox 3: -2147287038
Action ended 13:18:36: InstallValidate. Return value 3.
Action ended 13:18:36: INSTALL. Return value 3.


The setup.ini as generated and copied from temp:
[Info]
Name=INTL
Version=1.00.000
DiskSpace=8000 ;DiskSpace requirement in KB

[Startup]
CmdLine= ALLUSERS=1 /l* %TEMP%\ExpressorInstallation.log
SuppressWrongOS=N
ScriptDriven=2
ScriptVer=17.0.0.714
DotNetOptionalInstallIfSilent=N
OnUpgrade=0
Product=QlikView Expressor Software
PackageName=QlikviewExpressorFullInstaller.msi
EnableLangDlg=N
LogResults=N
BillBoardType=2
UI=1000
DoMaintenance=N
ProductCode={CBF3CF6A-0973-45E0-899D-ECACB3E4DA84}
ProductVersion=3.9.0.24573
LauncherName=QlikviewExpressorFullInstaller.exe
PackageCode={2548208D-4F12-4648-8738-CD037B0EC648}

[Languages]
RequireExactLangMatch=0x0404,0x0804
RTLLangs=0x0401,0x040d
Default=0x0409
Supported=0x0409

[MsiVersion]

[SupportOSMsi11] ;Supported platforms for MSI 1.1
Win95=1
Win98=1
WinNT4SP3=1

[SupportOSMsi12] ;Supported platforms for MSI 1.2
Win95=1
Win98=1
WinME=1
WinNT4SP3=1

[SupportOS] ;Supported platforms for MSI 2.0
Win95=1
Win98=1
WinME=1
WinNT4SP6=1
Win2K=1

[SupportOSMsi30] ;Supported platforms for MSI 3.0
Win2KSP3=1
WinXP=1
Win2003Server=1

[Win95]
MajorVer=4
MinorVer=0
MinorVerMax=1
BuildNo=950
PlatformId=1

[Win98]
MajorVer=4
MinorVer=10
MinorVerMax=11
BuildNo=1998
PlatformId=1

[WinME]
MajorVer=4
MinorVer=90
MinorVerMax=91
BuildNo=3000
PlatformId=1

[WinNT4SP3]
MajorVer=4
MinorVer=0
MinorVerMax=1
BuildNo=1381
PlatformId=2
ServicePack=768

[WinNT4SP6]
MajorVer=4
MinorVer=0
MinorVerMax=1
BuildNo=1381
PlatformId=2
ServicePack=1536

[Win2K]
MajorVer=5
MinorVer=0
MinorVerMax=1
BuildNo=2195
PlatformId=2

[Win2KSP3]
MajorVer=5
MinorVer=0
MinorVerMax=1
BuildNo=2195
PlatformId=2
ServicePack=768

[WinXP]
MajorVer=5
MinorVer=1
MinorVerMax=2
BuildNo=2600
PlatformId=2

[Win2003Server]
MajorVer=5
MinorVer=2
MinorVerMax=3
BuildNo=2600
PlatformId=2

[0x0409]
0x0409=English (United States)
0x0411=Japanese
0x0401=Arabic (Saudi Arabia)
0x042d=Basque
0x0402=Bulgarian
0x0403=Catalan
0x0804=Chinese (PRC)
0x0404=Chinese (Taiwan)
0x041a=Croatian
0x0405=Czech
0x0406=Danish
0x0413=Dutch (Netherlands)
0x040b=Finnish
0x0c0c=French (Canada)
0x040c=French (France)
0x0407=German (Germany)
0x0408=Greek
0x040d=Hebrew
0x040e=Hungarian
0x0421=Indonesian
0x0410=Italian (Italy)
0x0412=Korean
0x0414=Norwegian (Bokmal)
0x0415=Polish
0x0416=Portuguese (Brazil)
0x0816=Portuguese (Portugal)
0x0418=Romanian
0x0419=Russian
0x0c1a=Serbian (Cyrillic)
0x041b=Slovak
0x0424=Slovenian
0x040a=Spanish (Traditional Sort)
0x041d=Swedish
0x041e=Thai
0x041f=Turkish
[QlikviewExpressorFullInstaller.msi]
CertKey=QlikviewExpressorFullInstaller.isc
Type=1
Location=QlikviewExpressorFullInstaller.msi
CacheRoot=28
CacheFolder=Downloaded Installations
[Setup.bmp]
Type=1
[ISSetupPrerequisites]
PreReq0=Windows Installer 3.1 (x86).prq
PreReq1=Microsoft Visual C++ 2010 Redistributable Package (x86).prq
PreReq2=Microsoft Visual C++ 2008 SP1 Redistributable Package (x64).prq
PreReq3=Microsoft Visual C++ 2008 SP1 Redistributable Package (x86).prq
PreReq4=Microsoft Visual C++ 2010 Redistributable Package (x64).prq
PreReq5=Windows Imaging Component (x86).prq
PreReq6=Windows Installer 3.1 for Windows Server 2003 SP1 (x86).prq
PreReq7=Windows Imaging Component (x64).prq
PreReq8=Windows Installer 3.1 for Windows Server 2003 SP1 (IA64).prq
PreReq9=Windows Installer 3.1 for Windows Server 2003 SP1 (x64).prq
PreReq10=Windows Installer 3.1 for Windows XP (x64).prq
PreReq11=Microsoft .NET Framework 4.0 Full.prq
0 Kudos