Jan 25, 2017
07:50 PM
Actually that helped, it's lead me on to further realise you can't do it with PowerShell due to the way it interacts with the install session etc. I will do it vbscript, thank you for your comment. Regards, Paul
... View more
Jan 25, 2017
04:56 PM
Hey, Could I ask if someone can give us a quick example of how to populate the Value within a ComboBox from a PowerShell custom action? Basic MSI install - PowerShell custom action. I can use this just fine.. set-property -name AZURE_SUBSCRIPTION -value $obj.SubscriptionName Which will update my property called AZURE_SUBSCRIPTION with the value of $obj.SubscriptionName But that's just a standard property. ComboBoxes use the "ComboBox" table and in there are Value and Text columns within that, so I'm guessing I need to update that table somehow? Is this possible? Thanks.
... View more
Labels
- Labels:
-
InstallShield 2015
Sep 02, 2014
01:41 AM
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.
... View more
Sep 01, 2014
05:11 AM
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.
... View more
Labels
- Labels:
-
InstallShield 2014
Latest posts by paul_wilson
Subject | Views | Posted |
---|---|---|
1118 | Jan 25, 2017 07:50 PM | |
2235 | Jan 25, 2017 04:56 PM | |
460 | Sep 02, 2014 01:41 AM | |
951 | Sep 01, 2014 05:11 AM |
Activity Feed
- Posted Re: PowerShell Custom Action - ComboBox Values on InstallShield Forum. Jan 25, 2017 07:50 PM
- Posted PowerShell Custom Action - ComboBox Values on InstallShield Forum. Jan 25, 2017 04:56 PM
- Posted Re: No files copied (InstallFiles) after adding LogonInformation dialog on InstallShield Forum. Sep 02, 2014 01:41 AM
- Posted No files copied (InstallFiles) after adding LogonInformation dialog on InstallShield Forum. Sep 01, 2014 05:11 AM