Apr 13, 2012
09:34 AM
I have worked with InstallShield for years and have always been frustrated with their documentation. Here is an example: From: http://helpnet.installshield.com/installshield17helplib/IHelpCompDest_SetFromScript.htm dated 19 August 2010 Last line: ComponentSetTarget( MEDIA , " " , svEndUserSelectedPath); From my IS2011 Help Library: Component Function: InstallShield 2011 » InstallScript Language Reference Dated July 2010 Because a Windows Installer-based installation uses features as the highest level of organization in installation projects, and not components, component-related functions are deprecated in InstallShield I waste days trying to get something to work only to find your documentation is wrong.:mad:
... View more
Labels
- Labels:
-
InstallShield 2011
Feb 21, 2012
08:39 AM
Thanks I knew it would be something simple that I just wasn't seeing. No return value for regdb_options kept biteing me.
... View more
Feb 20, 2012
04:07 PM
I'm sure I''m missing something simple but I don't see it. Why does this only write to the Wow6432Node registry key?? Pure Installscript 2011 project. function OnBegin() NUMBER i, nAutoSize, nResult; STRING sTemp; begin nAutoSize = -1; // TODO: Perform custom initialization steps, check requirements, etc. nResult = Disable (WOW64FSREDIRECTION); nResult = REGDB_OPTIONS = REGDB_OPTIONS | REGDB_OPTION_WOW64_64KEY; nResult = RegDBSetDefaultRoot(HKEY_LOCAL_MACHINE); if (RegDBKeyExist(PROPERTY_KEY) < 0) then nResult = RegDBCreateKeyEx(PROPERTY_KEY, ""); if nResult <0 then MessageBox(FormatMessage(nResult), SEVERE); endif; endif; nResult = RegDBSetKeyValueEx(PROPERTY_KEY, "test1", REGDB_STRING, "sb1", nAutoSize); nResult = RegDBSetKeyValueEx(PROPERTY_KEY, "test2", REGDB_STRING, "sb2", nAutoSize); nResult = RegDBSetKeyValueEx(PROPERTY_KEY, "test3", REGDB_STRING, "sb3", nAutoSize); Enable(WOW64FSREDIRECTION); end;
... View more
Labels
- Labels:
-
InstallShield 2012
Dec 14, 2011
02:48 PM
We have one product, I have been the sole "install guy" for the last 12 years. Our installation process is not much different than it was 10 years ago. We are looking for ways to improve it and make any changes from developers show up faster in the installed product. Currently if a developer creates a new file, a work item is sent to me and I add the file. This can be a delay of hrs. to a week or more if I'm out. So: We are looking at using the automation interface so a developer can add a file to the install project by adding information to a automation interface script. Is this a viable option? Our initial thought was to create a blank install and include all the features, components, files, shortcuts etc. thru the automation interface. The more I look into this the more I feel that it is impractical. Your thoughts? Also, we have given up on the Windows Installer and are using an Installscript project.
... View more
Labels
- Labels:
-
InstallShield 2011
Jun 28, 2011
03:47 PM
Found it from: http://forums.iis.net/t/1150832.aspx This happens because VS2008 is a 32-bit binary and so when you try to open %windir%\system32\inetsrv with VS2008, the file-system redirection for 32-bit binaries on x64 OS kicks in and you actually end up opening %windir%\syswow64\inetsrv and there is no config directory or applicationhost.config file in there. I added Disable(WOW64FSREDIRECTION); before the code and Enable(WOW64FSREDIRECTION); at the end.
... View more
Jun 27, 2011
03:49 PM
I have a Installscript MSInstaller. I use the appsearch function to find applicationhost.config. Then I try to modify it with fileGrep but it returns file not found. In the attached screenshot FindAllFiles is returning filenotfound. Any ideas??
... View more
Labels
- Labels:
-
InstallShield 2011
Mar 18, 2011
01:23 PM
This is something I have never been able to get my head around. I have an IS2011 Basic MSI project. My QA dept does not want to have to uninstall every day, new build daily, Builds are automated using VS2010 and a Deployment sln file.(TFS builds the sln) What do i need to do in the ism and/or build process so taht when a new msi is run, by double clicking the msi file, so that it will uninstall the current version then install the new version?
... View more
Labels
- Labels:
-
InstallShield 2011
Feb 14, 2011
10:01 AM
Thank you. I need to look at the options more closely. How about another question. I now have 1 project building both 32 and 64 as long as I do it manually. We use MSBuild to build my deployment.sln. I have modified the .isproj file in the past to build a different release. (Never 2 releases from the same project) So now I have a Default32 and a Default64 release in the same project. How do I modify the isproj file to build both? Default64 Release $(Configuration) This entry only builds the default64 release.
... View more
Feb 10, 2011
01:53 PM
However the direction I would take is to create a couple of subfeatures one for 32(x86) and the other for x64. Attach the appropriate merge modules to those features. Set a condition to each feature as either 32 or 64 depending on how you are testing for your OS.
... View more
Feb 10, 2011
01:33 PM
We have a product that I need to target a Windows 32 bit server as 32 bit. And target a Windows 64 bit server as 64 bit. i.e. Program Files folder not Program Files (x86). When I heard you could target 32 and 64 bit platforms with one project I thought, great! I will not have to maintain 2 separate projects. However I can't find a way to do this. If I leave the Template Summary as Intel and create both 32 bit components and 64 bit components, then Create 2 features, one with Release Flags as 32 and the other as Release Flags 64. When I try to build the 64 bit release flags media I get "Intel64 or AMD64 must be specified int he template of the Summary Stream". If I do that it will target only a 64 bit Operating System. I can only conclude that this means you can create one project that targets ONLY 64 bit Servers, that will install either a 64 bit application or a 32 bit application on that(64 bit) server depending on the release flag used during media build time. I still must maintain another project to target the 32 bit only operating systems. Is that correct??
... View more
Labels
- Labels:
-
InstallShield 2011
Dec 10, 2010
09:57 AM
:mad: I have a very simple basic msi project. It creates 2 subfolders under the [CommonAppDataFolder] and installs 2 files. No shortcuts, no Registry entries, no xml changes, etc. I need to give all users full control of my subfolder. So I go to the lockpermissions table and set: LockObject: foldername Table: CreateFolder Domain: blank User: Everyone Permission: 1610809791 Target platform is XP and Win7. I am testing on Win7. It does not add everyone and therefore they do not have full rights. Users is there however it is not changed. I read a post that users does not work on non-english OS platforms so I have not tried this. It will need to work on at lest 5 other languages, Spanish, French, Portuguese, German, Chinese-Simplified.
... View more
Labels
- Labels:
-
InstallShield 2011
Jul 21, 2010
03:56 PM
I need to determine if a user has selected Remove from the Add/Remove control panel before any UI. Is there a property to check. 2008 Pro, Installscript MSI project. Thanks
... View more
Labels
- Labels:
-
InstallShield 2008
Aug 07, 2009
10:06 AM
Ran into a problem with some of out VMs. They are clones and the account is the original computers name. Had to set the property using the code from this thread: Dim IIsObject, IUSRUserName On error resume next Set IIsObject = GetObject ("IIS://localhost/w3svc") IUSRUserName = IIsObject.Get("AnonymousUserName") 'MsgBox IUSRUserName Session.property("IISGUESTACCT") = IUSRUserName
... View more
Aug 05, 2009
12:02 PM
I needed to add the Internet Guest Account so I created a new property, iisguestacct. according to http://technet.microsoft.com/en-us/library/bb693984.aspx, guest acct is IUSR_ so I created a custom action to set the new property using IUSR_ComputerName as the value. Then went into the properties of the folder to set permissions and used my new property as the user and selected my permissions. Seems to work.
... View more
May 29, 2009
11:16 AM
I am using IS2008 Pro, Installscript MSi project. My iss files has this as selected components: [{7D7AD192-7938-4952-A289-DBE486F77730}-SdComponentTree-0] szDir=C:\Program Files\Me\ server-type=string server-count=2 server-0=server\server.help server-1=server\s_EN portal-type=string portal-count=2 portal-0=portal\Help portal-1=portal\p_EN Component-type=string Component-count=3 Component-0=server Component-1=portal Component-2=web_services Result=1 I did not select Feature B. However in my script I have: if FeatureIsItemSelected(MEDIA, "B") then nResult = DialogAskAPILocation(sAPILocation); endif; Feature B is not selected however the code steps into this dialog as though it is. Any suggestions?
... View more
Labels
- Labels:
-
InstallShield 2008
Latest posts by sbrown
Subject | Views | Posted |
---|---|---|
1609 | Apr 13, 2012 09:34 AM | |
553 | Feb 21, 2012 08:39 AM | |
2107 | Feb 20, 2012 04:07 PM | |
1440 | Dec 14, 2011 02:48 PM | |
594 | Jun 28, 2011 03:47 PM | |
2627 | Jun 27, 2011 03:49 PM | |
3287 | Mar 18, 2011 01:23 PM | |
606 | Feb 14, 2011 10:01 AM | |
434 | Feb 10, 2011 01:53 PM | |
5661 | Feb 10, 2011 01:33 PM |
Activity Feed
- Posted Documentation Frustration on InstallShield Forum. Apr 13, 2012 09:34 AM
- Posted Re: Installscript project can't write to 64 registry on InstallShield Forum. Feb 21, 2012 08:39 AM
- Posted Installscript project can't write to 64 registry on InstallShield Forum. Feb 20, 2012 04:07 PM
- Posted Automation Interface - Your Opinion?? on InstallShield Forum. Dec 14, 2011 02:48 PM
- Posted Re: findallfiles can't find applicationhost.config on InstallShield Forum. Jun 28, 2011 03:47 PM
- Posted findallfiles can't find applicationhost.config on InstallShield Forum. Jun 27, 2011 03:49 PM
- Posted Set install to remove old install on InstallShield Forum. Mar 18, 2011 01:23 PM
- Posted MSBUILD to build multiple releases on InstallShield Forum. Feb 14, 2011 10:01 AM
- Posted I haven't tried this - disclaimer on InstallShield Forum. Feb 10, 2011 01:53 PM
- Posted 32 bit and 64 bit w/ 1 project misleading?? on InstallShield Forum. Feb 10, 2011 01:33 PM
- Posted LockPermission Frustration on InstallShield Forum. Dec 10, 2010 09:57 AM
- Posted Remove from Add/Remove on InstallShield Forum. Jul 21, 2010 03:56 PM
- Posted Update on InstallShield Forum. Aug 07, 2009 10:06 AM
- Posted Internet Guest Account on InstallShield Forum. Aug 05, 2009 12:02 PM
- Posted Silent Install does not perform correctly on InstallShield Forum. May 29, 2009 11:16 AM
- Posted Re: SQL error when run during Modify on InstallShield Forum. Jan 21, 2009 01:49 PM
- Posted Re: SQL error when run during Modify on InstallShield Forum. Jan 20, 2009 02:49 PM
- Posted Re: SQL error when run during Modify on InstallShield Forum. Jan 19, 2009 10:33 AM
- Posted SQL error when run during Modify on InstallShield Forum. Jan 15, 2009 03:18 PM
- Posted Re: Why is QuickPatch changing path on InstallShield Forum. Oct 28, 2008 12:41 PM