Sep 08, 2008
04:07 PM
Bob & Robert: Thank you very much for your suggestions. I was able to accomplish what I was trying to do with a Custom Code Action using the .trim() method. I appreciate your assistance. I am wondering why something so simple requires custom coding? Do you think this may be a bug? Or is accomplishing something like this only possible with Custom Coding? I'm just curious because this doesn't sound like something you would need custom coding for. Please let me know what you think. Again, thank you for all your cooperation in this matter. Sincerely, Mike Sucena
... View more
Sep 08, 2008
02:35 PM
Robert: This is an example of what I am trying to do. 1. I have an installer where I have an "Execute Batch/Script" action. 2. The batch/script, really just one(1) command -- but the "Execute Command" action produces the same result -- I am trying to run from a Mac OS 10.5 is hostname -s 3. I store the output from this into a variable named $MAC_MACHINE_NAME$ 4. I include an "Output Debug Information" action where I display only IA variables. 5. When I look at my output file with debug information this is what I see: . . . MAC_EXTENSTIONS= MAC_MACHINE_NAME=my_machine_name (this is a blank line) MAC_PREFERENCES=/Users/ /Library/Preferences . . . 6. I then have a "Modify Text File - Single File" action where I do a "Search and Replace" strings looking for a string and replace it with the value of $MAC_MACHINE_NAME$ 7. When I look at the file I modified with the action in #6 there is a new line where I found the string to replace with my $MAC_MACHINE_NAME$ variable and the rest of the line. This line is a URL connection string and I am replacing localhost:8080 with the value of $MAC_MACHINE_NAME$ and what I get in the file is http://my_machine_name(a new line, carriage return) :8080... (this is the rest of the connection string) Please let me know if this provides you with more information about my problem. Also let me know if you have additional questions. Sincerely, Mike Sucena
... View more
Sep 08, 2008
12:34 PM
Thank you very much for posting this question. I am having the exact same problem. Can someone please take a look at this and respond as soon as possible? Thank you very much, in advance, for any information that can be given regarding this problem. Sincerely, Mike Sucena Software Engineer
... View more
Aug 12, 2008
10:42 AM
I am using IA 2008 VP 1. When I run my Mac installer on OS 10.5 there is a menu that is equivalent to the $PRODUCT_NAME$ variable. While my installer is running, if I select the menu and then select the "About ..." menu item the box that displays has a version number of 6.0 even though my product's version number is only 1.0 in the Project->Description section of the Advanced Designer. Does anyone know how, or if, this can be changed? Does anyone know what the 6.0 version number is referring to? Thanks, in advance, for any assitance that can be provided. Sincerely, Michael P. Sucena Software Engineer
... View more
Labels
- Labels:
-
InstallAnywhere 2008
Feb 15, 2008
01:42 PM
Some services require the running of a command, script, or batch file to uninstall them. For example, to uninstall Tomcat as a Windows service you have to run the command service.bat remove located in the \bin directory, where is the home directory of the Tomcat install, e.g. C:\Program Files\Apache Software Foundation\Tomcat 5.5. I have a Tomcat IA installer project and I run this command in the pre-uninstall section of the Advanced designer as part of an "Execute script/batch file" action. Hope this helps you. -Mike
... View more
Jan 21, 2008
03:31 PM
How can I tell what directory the installer is calling the Execute command action from? I need my installer to execute a batch file and no matter what I do to the command line argument of the Execute command action my batch file is never getting executed. I know this because I have a pause in my batch file and I never get a command prompt window in which I need to press a key to continue execution of my batch file. I also have the suspend installer execution check box checked but the installer never suspends. Thanks.
... View more
Labels
- Labels:
-
InstallAnywhere 2008
Jan 14, 2008
04:01 PM
Hello everyone, I am working on building an installer using Merge Modules. One of my Merge Modules has to install a Windows Service. The service has to be started with command line parameters. I need to know which action to use in order to achieve this. I am currently using the Register Windows Service action but there is no way for me to attach the necessary parameters to the executable file path and therefore my service, while showing up in the Admin Tools->Services list, does not start successfully. Thanks, in advance, for any assitance that can be provided to me. Sincerely, Mike Sucena
... View more
Labels
- Labels:
-
InstallAnywhere 2008
Latest posts by Mike_Sucena
Subject | Views | Posted |
---|---|---|
2697 | Sep 08, 2008 04:07 PM | |
2697 | Sep 08, 2008 02:35 PM | |
2697 | Sep 08, 2008 12:34 PM | |
8276 | Aug 12, 2008 10:42 AM | |
696 | Feb 15, 2008 01:42 PM | |
3587 | Jan 21, 2008 03:31 PM | |
3499 | Jan 14, 2008 04:01 PM |
Activity Feed
- Posted Thank you on InstallAnywhere Forum. Sep 08, 2008 04:07 PM
- Posted My example on InstallAnywhere Forum. Sep 08, 2008 02:35 PM
- Posted Same here on InstallAnywhere Forum. Sep 08, 2008 12:34 PM
- Posted Mac installer menu items on InstallAnywhere Forum. Aug 12, 2008 10:42 AM
- Posted Uninstalling Windows services. on InstallAnywhere Forum. Feb 15, 2008 01:42 PM
- Posted Execute Command action... on InstallAnywhere Forum. Jan 21, 2008 03:31 PM
- Posted Installing Windows Services on InstallAnywhere Forum. Jan 14, 2008 04:01 PM