cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
paul_wilson
Level 3

No files copied (InstallFiles) after adding LogonInformation dialog

Hi there,

I have an InstallShield 2014 solution created through Visual Studio and it's been working fine now for some time. There are a multitude of custom actions, dialogs and features within it and I've recently come to a point where I need to make use of the LogonInformation dialog.
This is a BasicMSI solution by the way.

What I have done is opened up the Dialogs section, right clicked on 'All Dialogs' and then selected New Dialog...
Through the wizard, I select 'Logon Information Panel and Associated Child Dialogs' and untick the option which says 'Let me Insert this dialog into a sequence'

At this point the LogonInformation dialog is added into the list along with all the other dialogs and no events are added for the Next and Back buttons, so far so good..
None of my other dialogs point at it either so it's just sitting in the list with the other LogonInformation dialogs which the wizard creates.

At this point, I rebuild my solution.

When I run the installer (with setup.exe) the InstallFiles custom action runs but no files are copied to the installation directory and consequently my deferred custom actions which come after InstallFiles are running but failing because they rely on the files being present.
I can't understand why by adding this dialog through the wizard would stop the installation copying the files, any suggestions would be greatly appreciated as it's put a spanner right in the middle of what I'm doing!

This section of the log file is reading:

MSI (s) (84:4C) [09:44:34:811]: Doing action: InstallFiles
Action 09:44:34: InstallFiles. Copying new files
Action start 09:44:34: InstallFiles.
InstallFiles: File: Copying new files, Directory: , Size:
MSI (s) (84:4C) [09:44:35:074]: Note: 1: 2205 2: 3: MsiPatchOldAssemblyFile
MSI (s) (84:4C) [09:44:35:074]: Note: 1: 2228 2: 3: MsiPatchOldAssemblyFile 4: SELECT `MsiPatchOldAssemblyFile`.`Assembly_` FROM `MsiPatchOldAssemblyFile` WHERE `MsiPatchOldAssemblyFile`.`File_` = ?
MSI (s) (84:4C) [09:44:35:074]: Note: 1: 2205 2: 3: MsiSFCBypass
MSI (s) (84:4C) [09:44:35:074]: Note: 1: 2228 2: 3: MsiSFCBypass 4: SELECT `File_` FROM `MsiSFCBypass` WHERE `File_` = ?
MSI (s) (84:4C) [09:44:35:074]: Note: 1: 2205 2: 3: MsiPatchHeaders
MSI (s) (84:4C) [09:44:35:074]: Note: 1: 2228 2: 3: MsiPatchHeaders 4: SELECT `Header` FROM `MsiPatchHeaders` WHERE `StreamRef` = ?
MSI (s) (84:4C) [09:44:35:117]: Note: 1: 2205 2: 3: PatchPackage
MSI (s) (84:4C) [09:44:35:117]: Note: 1: 2205 2: 3: MsiPatchHeaders
MSI (s) (84:4C) [09:44:35:117]: Note: 1: 2205 2: 3: PatchPackage
Action ended 09:44:35: InstallFiles. Return value 1.

I've used the LogonInformation dialog many times in the past and have had no problems with it, there's obviously something going on which I'm overlooking here, if anyone can suggest anything then please do.

Kind regards,
Paul.
Labels (1)
0 Kudos
(1) Reply
paul_wilson
Level 3

Can anyone think of anything which might cause this behaviour? Does the adding of these dialogs do anything special when it comes to the InstallFiles action running? I'm at a loss.
If I can supply any additional information I'd be willing to do so.
0 Kudos