Defining runtimes...
Posted: Fri Sep 04, 2015 8:49 am
I'm trying to get my installer(s) to detect if the Microsoft.VisualBasic.Powerpacks.dll file exists in the program files directory and I noticed some strange behaviour in the MSI Code editor.
When I'm defining the runtime by using the Wizard, I select the System->Program Files option to search the Program Files directory for the dll. What gets generated in the Check for Microsoft Visual Basic Power Packs script is:
Get Folder Location System->System Directory into FOLDER_MICROSOFTVISUALBASICPOWERPACKS
When delete the runtime I created, then use the wizard to define it again, this time telling the runtime to look in the System->System Directory, the exact same code gets generated in the "Check for Microsoft Visual Basic Power Packs"
Get Folder Location System->System Directory into FOLDER_MICROSOFTVISUALBASICPOWERPACKS
If I'm not mistaken, shouldn't looking in the Program Files directory generate the following?
Get Folder Location System->Program Files Directory into FOLDER_MICROSOFTVISUALBASICPOWERPACKS
This seems to be what happens when I go into the MSICode editor, double click on that line and change it to look in the proper folder.
Secondly, will looking in the System->Program Files Directory look in both the Program Files and Program Files (x86) folders on a 64 bit system? If not, how can I make it also search the Program Files (x86) folder?
I should also mention this is Installaware X3.
Thanks,
Nick
When I'm defining the runtime by using the Wizard, I select the System->Program Files option to search the Program Files directory for the dll. What gets generated in the Check for Microsoft Visual Basic Power Packs script is:
Get Folder Location System->System Directory into FOLDER_MICROSOFTVISUALBASICPOWERPACKS
When delete the runtime I created, then use the wizard to define it again, this time telling the runtime to look in the System->System Directory, the exact same code gets generated in the "Check for Microsoft Visual Basic Power Packs"
Get Folder Location System->System Directory into FOLDER_MICROSOFTVISUALBASICPOWERPACKS
If I'm not mistaken, shouldn't looking in the Program Files directory generate the following?
Get Folder Location System->Program Files Directory into FOLDER_MICROSOFTVISUALBASICPOWERPACKS
This seems to be what happens when I go into the MSICode editor, double click on that line and change it to look in the proper folder.
Secondly, will looking in the System->Program Files Directory look in both the Program Files and Program Files (x86) folders on a 64 bit system? If not, how can I make it also search the Program Files (x86) folder?
I should also mention this is Installaware X3.
Thanks,
Nick