Dec 22, 2011
11:29 AM
Thank you for the fast reply that looks like it should do what I need.
... View more
Dec 22, 2011
11:02 AM
With your help from the community I have got the MSI log file turned on and I'm able to name it what ever I want. But now when I look at it I see a list of all the property valuse and this is great with one exception. I have a password dialog that stores the password in a property and ths password is in plain text in the log file. How can I hide this?
... View more
Labels
- Labels:
-
InstallShield 2012
Dec 21, 2011
10:42 AM
Ok here is another basic question. I'm moving my install from Installscript to a BasicMsi install. I write lots of information during the installation to a log file for debugging later if needed. In Installscript I used CreateFile, Openfile and WriteLine and this worked great. In my BasicMSI testing the Create file works about 50% of the time, I have no idea why but sometimes it works and other times it does not. So what I want to try doing now is turning on the built in logging option and then I would like to write my lines of information to that log file as needed. I have searched and found info on turing the logging on and I think how to name it and put it where I want but I have not found any info on how to write to it. I would like to be able to put short strings together and write them to the log file like using WriteLine. Is there a way to do this? If not does anyone know how to make createfile work all the time? I'm trying to create the file in commonfiles\Companyname\InstallLogs\ I can supply a sample script if needed. Thanks Brandon
... View more
Labels
- Labels:
-
InstallShield 2012
Dec 13, 2011
03:44 PM
I have an install I'm working on that collects some information before the copy of the files takes place. I'm storing this information in properties. I also have some hard coded info I'm putting in properties. This information is used by an installscript custom action at the end of the install. The problem I'm having is that either the properties are blank at the end or I cannot use MsiGetProperty at the end. Whenever I try to get the info it comes back blank. If I take the same custom action and call it before the copy takes place it gets all the info. So at some point do the properties get cleared out? Can this be stopped? When does it happen? Or does MsiGetProperty stop working? Does the handle to the installer change? Thanks Brandon
... View more
Labels
- Labels:
-
InstallShield 2012
Dec 06, 2011
09:26 AM
I have an install that has many features. Each feature has things that need to be done after the installation if they were installed. How can I check to see if a feature was selected to be installed. MsiGetFeatureState will tell me if it is installed local or going to be installed local but I need something more like FeatureIsItemSelected. So using installscript in a Basic MSI custome action how can I check to see if the feature is selected or not? Thank you Brandon
... View more
Labels
- Labels:
-
InstallShield 2012
Nov 30, 2011
01:55 PM
Thank you. We were leaning that way so I guess we will keep going.
... View more
Nov 30, 2011
10:08 AM
During our install the user enters in a product key. That key is encoded with the features the customer has purchased. So I need to take the information and go through the list of features and select the features they have purchased and unselect the ones they have not. We do this currently using an installscript installation but we are now moving to an MSI based install. I have the selecting and unselecting part working ok I just need to be able to get a list of the features. I could do it by hard coding a list but I would rather read the features in as we do change them from time to time. Thanks. Brandon
... View more
Nov 29, 2011
03:19 PM
In a basic MSI install is there a way to get a list of all the parent features? I do not need sub features.
... View more
Nov 29, 2011
11:30 AM
I'm creating a new Basic MSI install with many features and I'm trying to use FeatureListItems in an installscript custom action. I'm getting a return value of -132 and the list is empty. It is not getting any of the features. Here is the code from the function export prototype SelectDefaultFeatures(HWND); function SelectDefaultFeatures(hMSI) NUMBER nResult; LIST listFeatures; begin listFeatures = ListCreate(STRINGLIST); nResult = FeatureListItems(MEDIA,"",listFeatures); SdShowInfoList("Feature List","Features",listFeatures); At this point the list is empty and I cannot do anything I need to do. Any help would be great. I need this list of features so I can have features selected that the customer has purchased and have in their product key. Features they have not purchased with not be selected to install. Brandon
... View more
Labels
- Labels:
-
InstallShield 2012
Sep 12, 2011
12:59 PM
Thanks Josh, that fixed it.
... View more
Sep 12, 2011
10:56 AM
I am trying to convert some of my 2011 installscript project to 2012 and I'm getting errors. So I tried to create a new installscript project and when I try to add a merge module/object to a feature i get an error message, The object 'Merge Module Holder Object' could not be inserted, you may need to reinstall the object in order to use it. Any ideas how to fix this?
... View more
Labels
- Labels:
-
InstallShield 2012
Apr 07, 2009
12:24 PM
I forgot to say we are using installscript and not MSI windows installer. I will try the required option and see if that does the trick.
... View more
Apr 06, 2009
03:31 PM
We have a current product out in the field version 4.30. We are working on our new version 4.40 which now has a new set of merge modules for Crystal Reports version 11.5. The version 4.30 did not have any merge modules in it. If I run the version 4.40 install as a new instance it will install the crystal reports merge modules. But if I run it as an upgrade over a previous 4.30 install the merge modules do not install. I have tried to create a new feature for just the merge modules and selecting that feature in the code to force the install but that did not work as they still did not install. How can I force the merge modules to launch and install?
... View more
Labels
- Labels:
-
InstallShield 2009
Aug 05, 2008
10:33 AM
I need to modifiy the dialog SdWelcomeMaint to add a forth option. How do I add the forth radio button to the group that is already there? This is for an Installscript project. I can handle the code ok just cant remember how to add the new option. Brandon
... View more
Labels
- Labels:
-
InstallShield 2008
Jul 28, 2008
12:38 PM
Does nobody have any ideas? I have modified the original script and copied it over then laun the uninstall but I have 2 problems still. It shows the first screen when installshield is loading and the other problem is that the launching app does not wait for the uninstall to finish.
... View more
Latest posts by Brandon_Lowe
Subject | Views | Posted |
---|---|---|
1125 | Jan 16, 2018 09:14 AM | |
1607 | Jan 15, 2018 06:49 PM | |
991 | Aug 21, 2015 05:46 AM | |
1560 | Aug 19, 2015 03:35 PM | |
806 | Jan 27, 2015 10:15 AM | |
1703 | Jan 26, 2015 12:54 PM | |
2257 | Jul 25, 2012 09:46 AM | |
3879 | Jul 18, 2012 12:34 PM | |
2357 | Jun 01, 2012 10:18 AM | |
2357 | May 31, 2012 04:30 PM |
Activity Feed
- Posted Re: Powershell Custom action problems. Please help on InstallShield Forum. Jan 16, 2018 09:14 AM
- Posted Powershell Custom action problems. Please help on InstallShield Forum. Jan 15, 2018 06:49 PM
- Tagged Powershell Custom action problems. Please help on InstallShield Forum. Jan 15, 2018 06:49 PM
- Tagged Powershell Custom action problems. Please help on InstallShield Forum. Jan 15, 2018 06:49 PM
- Posted Re: Windows 10 Program Compatibility Assistant dialog, Please help on InstallShield Forum. Aug 21, 2015 05:46 AM
- Posted Windows 10 Program Compatibility Assistant dialog, Please help on InstallShield Forum. Aug 19, 2015 03:35 PM
- Posted Re: MSI Install always installing all features when run in silent mode on InstallShield Forum. Jan 27, 2015 10:15 AM
- Posted MSI Install always installing all features when run in silent mode on InstallShield Forum. Jan 26, 2015 12:54 PM
- Posted How do I force a messageBox to the forground in BasicMSI on InstallShield Forum. Jul 25, 2012 09:46 AM
- Posted How do I insert a dialog during uninstall in Basic MSI on InstallShield Forum. Jul 18, 2012 12:34 PM
- Posted Re: Minor upgrade does not work on InstallShield Forum. Jun 01, 2012 10:18 AM
- Posted Re: Minor upgrade does not work on InstallShield Forum. May 31, 2012 04:30 PM
- Posted Change the version number from the CMD line on InstallShield Forum. May 31, 2012 10:17 AM
- Posted Basic MSI, How do I detect Upgrade Mode on InstallShield Forum. May 21, 2012 08:51 AM
- Posted Reinstall only some features not all features on InstallShield Forum. May 14, 2012 08:49 AM
- Posted Re: Need help unscrambling product code on InstallShield Forum. May 10, 2012 09:37 AM
- Posted Need help unscrambling product code on InstallShield Forum. May 04, 2012 04:15 PM
- Posted Re: Force file overwrite in Basic MSI install on InstallShield Forum. May 01, 2012 08:29 AM
- Posted Force file overwrite in Basic MSI install on InstallShield Forum. Apr 30, 2012 03:42 PM
- Posted Re: Using SQL Scripts with BasicMSI install on InstallShield Forum. Apr 26, 2012 08:42 AM