May 16, 2013
09:56 AM
As far as I know, InstallShield does not provide a dialog that would allow the user to set a website name or application pool. In the past I've had to create the dialog and write all the custom actions to support it. For instance a dialog that allows the user to select an existing applicaton pool or create a new one will have to have a custom action that populates a combobox with existing application pools. This custom action will have to work for all the IIS versions you support. Hope this gives you an idea of the work ahead of you.
... View more
Jun 18, 2012
10:50 AM
Import your XML file then go to MySubElement that you want to change and set the value there. You can even put a property name in square brackets so that the value gets set at runtime.
... View more
May 03, 2012
04:18 PM
Under the component go to Advanced Settings -> COM Registration. Right click COM Registration and select Extract COM Data from Key File. This will add registry data to your install and should be all you need. If this does not work, you'll have to figure out what other registry data you need by installing manually and looking at what registry data gets added, then you'll manually have to add the registry data to your install.
... View more
Mar 26, 2012
03:12 PM
I think the issue you may be having is that a 32bit installer cannot drop files into Program Files, on a 64bit machine. Also, a 64bit installer can drop files to both Program Files directories, but will not run on a 32bit machine. I was able to resolve this on one of my projects in a not very elegant manner. Which was to write a utility that was able to install things into Program Files on 64bit machines on behalf of the 32bit installer.
... View more
Nov 30, 2011
02:39 PM
One thing you can look at is whether or not IIS 6 Compatibility is installed.
... View more
Mar 15, 2011
04:35 PM
To make this work you will have to: -Clone the dialog -On the original dialog add a new dialog event to the browse button and point it to the cloned dialog. -On the cloned dialog add a new dialog event to the browse button and point it to the original dialog.
... View more
Nov 11, 2010
02:02 PM
I have IS2009 pro the picture below shows where the install directory gets set.
... View more
Mar 08, 2010
05:02 PM
This install project has a custom action that launches IISReset.exe towards the end of the sequence. I resolved the issue by making the launching of IISReset.exe optional and moving it down in sequence.
... View more
Feb 18, 2010
01:02 PM
I think the best thing to do is to look for registry keys. This is what I do in one of my projects. function ScriptingToolsCheck(hMSI) STRING szKey, szName, svValue, szMsg; NUMBER nvType, nvSize; begin RegDBSetDefaultRoot(HKEY_LOCAL_MACHINE); szKey = "SOFTWARE\\Microsoft\\InetStp\\Components"; szName = "ManagementScriptingTools"; nvType = REGDB_STRING; if(RegDBGetKeyValueEx(szKey, szName, nvType, svValue, nvSize) < 0) then szMsg = "The setup needs IIS Management Scripts and Tools to be installed. "; szMsg = szMsg + "Please add this role in Server Manager and then run this setup again."; MessageBox(szMsg, SEVERE); abort endif; RegDBSetDefaultRoot(HKEY_CLASSES_ROOT); end;
... View more
Feb 16, 2010
08:52 AM
This is a Basic MSI project, where I create a web app and an app pool. On some systems that are Windows Server 2003 with IIS6 the web app gets attached to the app pool created. On other systems which are Windows Server 2003 with IIS6 as well, the web app gets attached to DefaultAppPool eventhough the other app pool gets created. I am running the same version of the setup on similar virtual machines and I get different results. Any information on what may be causing this behavior is greatly appreciated. Thanks
... View more
Labels
- Labels:
-
InstallShield 2010
Dec 03, 2009
05:16 PM
Thanks that fixed the issues with the diappearing radio buttons but now I have runtime issues like: - Radio buttons on second dialog do not enable username and password fields - Browse buttons do not populate servers list or database list correctly
... View more
Nov 30, 2009
04:44 PM
I am working on an IS2008 Basic MSI project and I am trying to implement multiple SQL Logins. The SQL Logins will have different Servers, Databases, Authentications, Usernames and Passwords. I have tried this How-To: http://kb.flexerasoftware.com/selfservice/viewContent.do?externalID=Q111493 On step 11 when I change IS_SQLSERVER_AUTHENTICATION property to a new property on the imported dialog, it wipes out the radio buttons on the original dialog. Is there a workaround for this issue?
... View more
Labels
- Labels:
-
InstallShield 2008
Oct 20, 2009
09:13 AM
If you are going to do any IIS configuration I would suggest using IS2010 instead of IS2009.
... View more
Oct 19, 2009
01:54 PM
I use this in a InstallScript custom action: function IISReset(hMSI) STRING szProgram, szArgs; NUMBER nvExitCode, nvResult, nvSize; begin if(GetEnvVar("windir", szProgram) < 0) then MessageBox ("Environment variable windir not found.", SEVERE); abort endif; // Declare paths szProgram = szProgram^"system32\\iisreset.exe"; szArgs = "/RESTART"; //MessageBox (szProgram + "\n" + szArgs, INFORMATION); /* DEBUG */ nvResult = LaunchAppAndWait(szProgram, szArgs, WAIT); nvExitCode = LAAW_PARAMETERS.nLaunchResult; if (nvResult < ISERR_SUCCESS) then MessageBox("iisreset.exe could not be launched",SEVERE); else if (nvExitCode != 0) then MessageBox("iisreset.exe could not reset IIS",SEVERE); endif; endif; end;
... View more
Latest posts by DanCla
Subject | Views | Posted |
---|---|---|
648 | May 16, 2013 09:56 AM | |
1015 | Jun 18, 2012 10:50 AM | |
507 | May 03, 2012 04:18 PM | |
1094 | Mar 26, 2012 03:12 PM | |
479 | Nov 30, 2011 02:39 PM | |
672 | Mar 15, 2011 04:35 PM | |
2315 | Nov 11, 2010 02:02 PM | |
575 | Mar 08, 2010 05:02 PM | |
978 | Feb 18, 2010 01:02 PM | |
2137 | Feb 16, 2010 08:52 AM |
Activity Feed
- Posted Re: Setting website name during installation on InstallShield Forum. May 16, 2013 09:56 AM
- Posted Re: XML File Changes - How? on InstallShield Forum. Jun 18, 2012 10:50 AM
- Posted Re: Intalled Service is not startable on InstallShield Forum. May 03, 2012 04:18 PM
- Posted Re: how to install different files according to the operating system on InstallShield Forum. Mar 26, 2012 03:12 PM
- Posted Re: Install Fails When Installing To A 64-bit App Pool with 32-Bit Applications Enabled on InstallShield Forum. Nov 30, 2011 02:39 PM
- Posted Re: Enable/disable Next button immediately after browsing a file on InstallShield Forum. Mar 15, 2011 04:35 PM
- Posted Re: Getting INSTALLDIR Value on InstallShield Forum. Nov 11, 2010 02:02 PM
- Posted Solution on InstallShield Forum. Mar 08, 2010 05:02 PM
- Posted Re: How to detect if a Server Role for WebServer(IIS) is installed + features on InstallShield Forum. Feb 18, 2010 01:02 PM
- Posted Web app gets attached to wrong app pool on InstallShield Forum. Feb 16, 2010 08:52 AM
- Posted Re: Multiple SQL Logins in Basic MSI on InstallShield Forum. Dec 03, 2009 05:16 PM
- Posted Multiple SQL Logins in Basic MSI on InstallShield Forum. Nov 30, 2009 04:44 PM
- Posted Re: Shortcuts not removed on InstallShield Forum. Nov 11, 2009 01:14 PM
- Posted IIS configuration on InstallShield Forum. Oct 20, 2009 09:13 AM
- Posted Re: How to restart IIS7 automatically in install? on InstallShield Forum. Oct 19, 2009 01:54 PM
- Posted Re: Help on checking differences on two installers on InstallShield Forum. Aug 25, 2009 04:38 PM
- Posted Re: How to run script before the installation start? on InstallShield Forum. Aug 25, 2009 04:25 PM
- Posted Re: Basic MSI project Upgrade problem on InstallShield Forum. Aug 25, 2009 04:22 PM
- Posted SecureCustomProperties explanation on InstallShield Forum. Jul 17, 2009 12:35 PM
- Posted Re: RegDBSetKeyValueEX fails under Win Server 2008 on 64bit on InstallShield Forum. Jul 17, 2009 12:30 PM