Aug 13, 2019
09:22 AM
Is there an enhancement request to give access to these properties in a more direct way? If I can supposedly build a C++ library to do this, there's no reason why Flexera can't include this as an integrated solution.
... View more
Aug 07, 2019
11:28 AM
Ok, well, it occurred to me that you can use feature pseudo properties as conditions. Now feature_es is available as a property in my installscript functions. It's a little cumbersome, but it works. Is there an enhancement request to give access to these properties in a more direct way? If I can supposedly build a C++ library to do this, there's no reason why Flexera can't include this as an integrated solution.
... View more
Aug 07, 2019
10:31 AM
Okay, so are there any workarounds to allow me to access this data without C++? Can I set a property in an UI event so that each variable is available to the InstallScript code? I don't need to use FeatureSelectionTree. Is there another way to accomplish this? Thanks, Bill
... View more
Aug 06, 2019
05:40 PM
Hi, Could you please verify that this statement is or is not valid: rv = SuiteSetProperty("FEATURE[AdminTools].actionstate", "install"); I don't think it is, and that this pseudo property isn't available in an suite InstallScript. Is there any other way to retrieve the value of the feature. Thanks!
... View more
Aug 06, 2019
05:11 PM
Hi, I'm working on a Suite project with 15 features -- 1 features is the base install and is required, the rest are language packs. Users are shown a summary of the features to be installed and have the option of clicking "Change" to go to another wizard page with a FeatureSelectionTree control. This control is initially populated correctly. When they make their selections and return, the summary needs to be updated according to their changes. I'm building the summary string in an InstallScript function. The control seems to work and ultimately installs any features that are selected in the control. However, each time the user leaves the feature selection wizard page, I need to determine all the features selected so I can update the summary with the user's latest selections. How do I get the state of each feature? I've played around with FEATURE[].assignState in a "Set Property" action, but that doesn't seem to work. ISFeatureInstall does get updated either. I'm out of ideas. Here's how I'm doing the Set Property: This assignment returns "", where I was hoping for "install" Any ideas how I can get the selected features transferred to variables, or access it any other way? Bill
... View more
Labels
- Labels:
-
InstallShield 2018
Aug 05, 2019
05:25 PM
I did not include a "return 0" at the end of the function, so it appears to cancel any SetSuiteProperty calls back to their original values. I wasn't able to find any reference to return codes for Actions in the documentation, so maybe this will help someone.
... View more
Aug 05, 2019
04:26 PM
The basic questions I'm trying to answer: After changing a property in an InstallScript action, how do you update a control that displays that property value? This seems to work if you set the property before the GUI starts, but not if you call the script in a Page Entered. More details: I need to create a descriptive summary of features selected and display them in a Label or TextBox control. The dialog also has a "Change" button, so the user can change the features in a separate dialog. The summary might be something like this: English (required) Additional Languages: Spanish, French So: I created a property under Property Manager (SelectedLanguagesList) and gave it a value of "This needs to be filled in by SetSelectedLanguagesList()" Created a function, SetSelectedLanguagesList() which sets the property "SelectedLanguagesList" based on the selected features. Created an Action in Events. Created a TextBox control and set the Property to SelectedLanguagesList. In the Wizard Interface, I added a Page Entered action to call my SetSelectedLanguagesList() function to the page containing the textbox. When the install runs, the Action runs and logs this: 8-5-2019[02:27:54 PM]: Engine: property 'SelectedLanguagesList' value now 'English (Required)' However, the Textbox doesn't show this, it still says "This needs to be filled in by SetSelectedLanguagesList()". Also note that users may selected more features to install, so I want to call SetSelectedLanguagesList() again and update the summary text with the new value. Maybe there's another way to implement this, but I haven't found anything in the documentation or on the web. Thanks, Bill
... View more
Labels
May 08, 2019
05:14 PM
Already entered... Thanks.
... View more
May 07, 2019
10:46 AM
I have a project containing a number a number of .app packages, each one installed by a speed folder. I've put the .app packages in the projects "packages" directory, then created Speed Folders to capture them and add them to the installations. There are frameworks in the packages, and I've verified that the softlinks for Resources, the Binary and Versions/Current are correct. However, when I build the project and install, the softlinks are removed. Does anyone know how to keep InstallAnywhere from removing these links? In Contents/Frameworks/Ruby.Frameworks: ~/InstallAnywhere 2018 Projects/Frameworks/packages> ls -al SketchUp.app/Contents/Frameworks/Ruby.framework/ drwxr-xr-x 5 Domain Users 160 May 7 08:19 . drwxr-xr-x 8 Domain Users 256 May 7 08:32 .. lrwxr-xr-x 1 Domain Users 24 May 7 08:19 Resources -> Versions/2.5.5/Resources lrwxr-xr-x 1 Domain Users 19 May 7 08:19 Ruby -> Versions/2.5.5/Ruby drwxr-xr-x 4 Domain Users 128 May 7 08:19 Versions ~/InstallAnywhere 2018 Projects/Frameworks/packages> ls -al SketchUp.app/Contents/Frameworks/Ruby.framework/Versions drwxr-xr-x 4 Domain Users 128 May 7 08:19 . drwxr-xr-x 5 Domain Users 160 May 7 08:19 .. drwxr-xr-x 9 Domain Users 288 May 7 08:19 2.5.5 lrwxr-xr-x 1 Domain Users 5 May 7 08:19 Current -> 2.5.5 So everything looks great. After I install, however I get this: /Applications/Frameworks/_Frameworks_installation> ls -la SketchUp.app/Contents/Frameworks/Ruby.framework/ drwxrwxr-x 5 admin 160 May 7 08:39 . drwxrwxr-x 8 admin 256 May 7 08:39 .. drwxrwxr-x 3 admin 96 May 7 08:39 Resources -rwxrwxr-x 1 admin 8677840 May 6 16:44 Ruby drwxrwxr-x 4 admin 128 May 7 08:39 Versions /Applications/Frameworks/_Frameworks_installation> ls -la SketchUp.app/Contents/Frameworks/Ruby.framework/Versions drwxrwxr-x 4 admin 128 May 7 08:39 . drwxrwxr-x 5 admin 160 May 7 08:39 .. drwxrwxr-x 9 admin 288 May 7 08:39 2.5.5 drwxrwxr-x 9 admin 288 May 7 08:39 Current No more links.
... View more
Apr 25, 2019
10:22 AM
Ian, Thank you. Are you assuming that non-standard variables (say the FEATURES define I am using) will not work either? Is this going to be logged as a bug and fix, or will the documentation be updated to reflect that the command line arguments don't work on Mac?
... View more
Apr 23, 2019
01:08 PM
I'm trying to set up a silent installer for an InstallAnywhere 2018 suite project for MacOS. Ideally for our customers, we'd like to be able to use command line arguments to select the directory and features for installation. The solution seems to be -D command line argument described here and elsewhere in the docs: https://community.flexera.com/t5/InstallAnywhere-Knowledge/Installer-Command-Line-Arguments/ta-p/3594 It took me awhile to figure it all out, but I got it set up using a response file. Here's an example: INSTALLER_UI=silent INSTALLDIR=/Applications/zzzz FEATURES=cs,de This installs the features cs and de (language packs, actually) into the /Applications/zzzz directory. It works. I'm trying everything I can to make this work with command line arguments: open ./SketchUp.app --args -i silent -D\$INSTALLDIR\$=/Applications/zzz open ./SketchUp.app --args -i silent -DINSTALLDIR=/Applications/zzz open ./SketchUp.app --args -i silent INSTALLDIR=/Applications/zzz open ./SketchUp.app --args -i silent -D INSTALLDIR=/Applications/zzz open ./SketchUp.app --args -i silent -D$INSTALLDIR$=/Applications/zzz open ./SketchUp.app --args -i silent -D@INSTALLDIR@=/Applications/zzz But nothing seems to work. Has anyone had any success with this?
... View more
Labels
- Labels:
-
InstallAnywhere
Latest posts by bill_sketchup
Subject | Views | Posted |
---|---|---|
1613 | Aug 13, 2019 09:22 AM | |
1646 | Aug 07, 2019 11:28 AM | |
1650 | Aug 07, 2019 10:31 AM | |
1759 | Aug 06, 2019 05:40 PM | |
1680 | Aug 06, 2019 05:11 PM | |
1182 | Aug 05, 2019 05:25 PM | |
1185 | Aug 05, 2019 04:26 PM | |
1369 | May 08, 2019 05:14 PM | |
1383 | May 07, 2019 10:46 AM | |
2955 | Apr 25, 2019 10:22 AM |
Activity Feed
- Posted Re: Suite: How do I get the results of a FeatureSelectionTree on InstallShield Forum. Aug 13, 2019 09:22 AM
- Posted Re: Suite: How do I get the results of a FeatureSelectionTree on InstallShield Forum. Aug 07, 2019 11:28 AM
- Posted Re: Suite: How do I get the results of a FeatureSelectionTree on InstallShield Forum. Aug 07, 2019 10:31 AM
- Posted Re: Problems setting Feature Action state in Suite project InstallScript on InstallShield Forum. Aug 06, 2019 05:40 PM
- Posted Suite: How do I get the results of a FeatureSelectionTree on InstallShield Forum. Aug 06, 2019 05:11 PM
- Tagged Suite: How do I get the results of a FeatureSelectionTree on InstallShield Forum. Aug 06, 2019 05:11 PM
- Tagged Suite: How do I get the results of a FeatureSelectionTree on InstallShield Forum. Aug 06, 2019 05:11 PM
- Tagged Suite: How do I get the results of a FeatureSelectionTree on InstallShield Forum. Aug 06, 2019 05:11 PM
- Tagged Suite: How do I get the results of a FeatureSelectionTree on InstallShield Forum. Aug 06, 2019 05:11 PM
- Posted Re: How do you set the contents of a control through InstallScript in a Suite/Advanced project? on InstallShield Forum. Aug 05, 2019 05:25 PM
- Posted How do you set the contents of a control through InstallScript in a Suite/Advanced project? on InstallShield Forum. Aug 05, 2019 04:26 PM
- Posted Re: Frameworks softlinks are removed by InstallAnywhere on MacOS on InstallAnywhere Forum. May 08, 2019 05:14 PM
- Posted Frameworks softlinks are removed by InstallAnywhere on MacOS on InstallAnywhere Forum. May 07, 2019 10:46 AM
- Posted Re: Passing command line arguments to installer on InstallAnywhere Forum. Apr 25, 2019 10:22 AM
- Posted Passing command line arguments to installer on InstallAnywhere Forum. Apr 23, 2019 01:08 PM