![]() I used this approach to determine if our database instance exists in a x86 or 圆4 version of SQL Server.įor more information open help and look at the section for "Targeting 64-Bit Operating Systems with InstallScript Installations". InstallScript has the ability to specify "REGDB_OPTIONS = REGDB_OPTIONS | REGDB_OPTION_WOW64_64KEY " I wonder if the installer is seeing that you are a 32bit app and so does substitution to the path above? I am not sure of what the right answer is here, but, if this IS the case, then I would create a custom InstallScript action that sets a new directory path to the one you desire. X64 uses the System path you specified in your previous post. %SystemRoot%\syswow64\WindowsPowerShell\v1.0\powershell.exe Looking at my VMWare image of Windows 7圆4 I see that the x86 version uses the following path: My guess is that you may be running into a path substitution issue. # -Īdd-WindowsFeature -Name Web-Common-Http,Web-Asp-Net,Web-Net-Ext,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Http-Logging,Web-Request-Monitor,Web-Basic-Auth,Web-Windows-Auth,Web-Filtering,Web-Performance,Web-Mgmt-Console,Web-Mgmt-Compat,RSAT-Web-Server,WAS -IncludeAllSubFeature ![]() I have followed the steps described here Īnd set the IS_PS_EXECUTIONPOLICY property to Unrestricted The script is stored in the binary table InstallShield 8:00:15: Finished Run PowerShellĪction ended 8:00:15: CA_Install_IIS_Power. InstallShield 8:00:07: Beginning Run PowerShell. DLL: C:\Users\ADMINI~1\AppData\Local\Temp\2\MSIE1FE.tmp, Entrypoint: PS1 MSI (c) (B0:4C) : Invoking remote custom action. MSI (c) (B0:70) : Doing action: CA_Install_IIS_PowerĪction start 8:00:07: CA_Install_IIS_Power. When it is run from the installer nothing is installed. When I run the script manually in the PowerShell windows, IIS is installed correctly. I am using a CA that will execute a PowerShell script to install IIS on a Server 2008 R2 (64 bit). I am creating a Basic MSI project with InstallShield 2014.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |