May 26, 2010
09:54 PM
InstallShield 2010 InstallScript( NOT MSI ) How do i retrieve the current IP address on the server (2k3 or 2k8) that the install is running on?? Any help would be great! Aaron
... View more
Labels
- Labels:
-
InstallShield 2010
Apr 25, 2010
09:56 PM
if (LaunchAppAndWait("%WinDir%\\Microsoft.NET\\Framework\\v2.0.50727\\aspnet_regiis", "-pe \"connectionStrings\" -app \"//ERA8\" -prov \"DataProtectionConfigurationProvider\"", WAIT) < 0) then MessageBox ("Failed to encrypt web.config",SEVERE); endif; The above code should run: LaunchAppAndWait("%WinDir%\\Microsoft.NET\\Framework\\v2.0.50727\\aspnet_regiis" With the following command line parameters: pe \"connectionStrings\" -app \"//ERA8\" -prov \"DataProtectionConfigurationProvider\" But every time the install runs this .... (OnFirstUIAfter) ... the result is -1 and it doesn't work.. If i run this app with the command line params manually - it works fine. Any ideas? has anyone come across this issue?
... View more
Labels
- Labels:
-
InstallShield 2010
Apr 19, 2010
11:37 PM
This is the same issue as: http://community.flexerasoftware.com/showthread.php?t=178929 When running a Oracle script (with semi-colons) i get a ORA-00911 error What has happened in this case is that ORA-00911 is thrown because of a semi-colon in the SQL of UDM. The semi-colon is an invalid character, causing ORA-00911 to appear. To fix, you should try the SQL again without the inappropriate semi-colon to remedy the ORA-00911 error. http://www.dba-oracle.com/sf_ora_00911_invalid_character.htm When this script is run manually - I dont get this error; I am using a batch char .. and its / Why does InstallShield give me this error? is there a workaround?:confused: Thanks -Aaron
... View more
Labels
- Labels:
-
InstallShield 2010
Apr 18, 2010
08:21 PM
On OnFirstUIBefore if i set a value: e.g. TextSubSetValue ( " ", szName, FALSE ); and then later on (say 6 months later) a client upgrades the software... On OnMaintUIBefore I call the value: e.g. TextSubGetValue ( " ", szName, FALSE, FALSE ); Will this value be the same? Does Installshield save the values you place in for future times when the install is run? If it does? is it saved in a temp dir? - or are these settings safely saved for future use? OnMaintUIBefore ... is it reliable to ask for TextSubGetValue ( " ", szName, FALSE, FALSE ); ... or should i create another dialog that re-asks the user for the NAME every time they upgrade. thanks for your help.
... View more
Labels
- Labels:
-
InstallShield 2010
Apr 12, 2010
09:48 PM
Hi, im using 2010 Im Creating a Application Pool with a Specific User - The Install allows the user to choose a name / password The InstallScript sets the variables TextSubSetValue ( " ", szUser, FALSE ); TextSubSetValue ( " ", szPassword, FALSE ) but when i paste into IIS view -> Application pool -> SpecificUser Password it comes up as ****************** will this still work? - or will the password end up being: " "?
... View more
Labels
- Labels:
-
InstallShield 2010
Apr 08, 2010
05:37 PM
Hi, im using 2010 Im Creating a Application Pool with a Specific User - that the user can set.... The InstallScript sets the variables TextSubSetValue ( " ", szUser, FALSE ); TextSubSetValue ( " ", szPassword, FALSE ) but when i paste into IIS view -> Application pool -> SpecificUser Password it comes up as ****************** will this still work? - Will the password be set to ' ' ?
... View more
Apr 06, 2010
04:31 PM
That DLL Dosnt have a function, Can i call it by going UseDLL( SUPPORTDIR ^ "MyDLL.dll" ); bResult = MyDLL.MyFunction( nInt1, nInt2, nInt3 ); Can i call this DLL without it having a function? System::String* entryName = System::String::Format(S"IIS://{0}/w3svc", computerName); System::Text::StringBuilder* sb = new System::Text::StringBuilder(512); System::DirectoryServices::DirectoryEntry* rootEntry = NULL; System::DirectoryServices::DirectoryEntry* childEntry = NULL; try { rootEntry = new System::DirectoryServices::DirectoryEntry(entryName); rootEntry->RefreshCache(); System::Collections::IEnumerator* iterator = rootEntry->Children->GetEnumerator(); while(iterator->MoveNext()) { childEntry = dynamic_cast (iterator->Current); if(!childEntry->Name->Equals( S"AppPools", System::StringComparison::CurrentCultureIgnoreCase )) { if(!childEntry->Name->Equals(S"Filters", System::StringComparison::CurrentCultureIgnoreCase)) { if(!childEntry->Name->Equals(S"Info", System::StringComparison::CurrentCultureIgnoreCase)) { //Print childEntry->Name; } } } } }
... View more
Mar 30, 2010
09:39 PM
Hi I am installing a web application, within the web component i install 3 folders, How do i set wrtie permissions to these 3 folders? I want to five Network Service 'Write' permissions to these 3 folders Is it possible:confused: to do this with InstallScript? Any help would be great! thanks
... View more
Labels
- Labels:
-
InstallShield 2010
Mar 28, 2010
08:20 PM
Hi My Installation installs a web app with a Application Pool. On the Install i want to give the user the ability to choose to run the application pool as 'Network Service' OR 'Specific User' I have created my application Pool within the "IIS View" But the dropdown 'Identity' only allows me to select 'Network Service' OR 'Specific User' Is there a way to change this value during the Install? So that users can select to use a Specific user OR Network Service? Thanks -Aaron
... View more
Labels
- Labels:
-
InstallShield 2010
Mar 28, 2010
03:14 PM
There is a section in the User Guide: Debugging an Installation on Any Computer Thanks!
... View more
Mar 25, 2010
10:12 PM
Hi, I currently have Install shield (install script project) on a windows server 2003 I want to debug my project on Server 2008 - is there a way to debug an installation on a remote machine? Or does Installshield have to be installed on the machine you want to debug on
... View more
Labels
- Labels:
-
InstallShield 2010
Mar 24, 2010
04:22 PM
Thanks for the help gprasadholla
... View more
Mar 24, 2010
03:49 PM
Works Perfectly! I was thinking it would be some kinda of function. Example: if anyone needs it if (SELECTED_LANGUAGE = ISLANG_SPANISH) then MessageBox ("this IS Spanish", SEVERE); else MessageBox ("this IS NOT Spanish", SEVERE); endif; Thanks for the help gprasadholla !!!
... View more
Mar 23, 2010
09:17 PM
Hi Im using Installscript (installsheild 2010) I have a Multi Language project. in my code(installscript) i have a function that i only want to run if the Language selected on the first dialog is "Spanish" Is there a Constant or some Variable that i can use to check if the the language the user selected @ the beginning of the install is 'Spanish'? e.g. IF (SELECTED_LANGUAGE = 'Spanish') myfunt(); ENDIF Any help would be great!
... View more
Labels
- Labels:
-
InstallShield 2010
Latest posts by Aaron_Barnett
Subject | Views | Posted |
---|---|---|
3430 | May 26, 2010 09:54 PM | |
1772 | Apr 25, 2010 09:56 PM | |
849 | Apr 20, 2010 04:57 PM | |
2829 | Apr 19, 2010 11:37 PM | |
1899 | Apr 18, 2010 08:21 PM | |
3104 | Apr 12, 2010 09:48 PM | |
1312 | Apr 08, 2010 05:37 PM | |
1645 | Apr 06, 2010 04:31 PM | |
3035 | Mar 30, 2010 09:39 PM | |
5591 | Mar 28, 2010 08:20 PM |
Activity Feed
- Posted Get IP Address on InstallShield Forum. May 26, 2010 09:54 PM
- Posted LaunchAppAndWait - Encrypt Web.config file. on InstallShield Forum. Apr 25, 2010 09:56 PM
- Posted Re: Oracle SQL Script Error on InstallShield Forum. Apr 20, 2010 04:57 PM
- Posted Oracle SQL Script Error on InstallShield Forum. Apr 19, 2010 11:37 PM
- Posted TextSubSetValue - Where does it save this value? on InstallShield Forum. Apr 18, 2010 08:21 PM
- Posted Set App Pool Password with <APP_POOL_PW> on InstallShield Forum. Apr 12, 2010 09:48 PM
- Posted SpecifiUser Password on InstallShield Forum. Apr 08, 2010 05:37 PM
- Posted Help! on InstallShield Forum. Apr 06, 2010 04:31 PM
- Posted Folder Permissions on InstallShield Forum. Mar 30, 2010 09:39 PM
- Posted Application Pools Specific User on InstallShield Forum. Mar 28, 2010 08:20 PM
- Posted InstallScript Debugger on InstallShield Forum. Mar 28, 2010 03:14 PM
- Posted Debug remote machine on InstallShield Forum. Mar 25, 2010 10:12 PM
- Posted Re: Get a list of all IIS websites from IIS on InstallShield Forum. Mar 24, 2010 04:22 PM
- Posted Perfect on InstallShield Forum. Mar 24, 2010 03:49 PM
- Posted 2010 Multi Language - get current language on InstallShield Forum. Mar 23, 2010 09:17 PM
- Posted Re: Get a list of all IIS websites from IIS on InstallShield Forum. Mar 23, 2010 08:25 PM
- Posted Re: Get a list of all IIS websites from IIS on InstallShield Forum. Mar 23, 2010 08:23 PM
- Posted 32 and 64bit web apps on InstallShield Forum. Mar 18, 2010 08:28 PM
- Posted Thanks on InstallShield Forum. Mar 18, 2010 04:15 PM
- Posted VB script on InstallShield Forum. Mar 17, 2010 05:49 PM