Mar 31, 2011
03:53 AM
Thanks Josh for you response, but, it doesn't seem to work. I added your example #define STRING_CONST_NAME "Hello, world" to my code, recompiled it and checked the inx file with a hex editor. Couldn't find the defined string. Any other ideas? Edit: I just compared two inx files I compiled from two rul files that differed in one character. I also found 2 bytes changed in the inx but can't interpret the byte as the original character. Thanks. Johannes
... View more
Mar 30, 2011
09:51 AM
Hi folks, I'm looking for a way to add constant strings in inx files. Background: We identify the version of a file with a tool that searches in a file for a certain string (e.g. "Version") and everything behind this string represents the file version, for example: A file contains: Version 1120B => The tool returns the version 1120B. In IS3 it was possible to define a constant in a source file and this constant was available in the ins file. This seems to be impossible for inx files. Does anyone have an idea, how this can be solved? Thanks in advance. Johannes
... View more
Labels
- Labels:
-
InstallShield 2010
Mar 11, 2011
09:33 AM
Don't know which project type you're using, but with Installscript, you can show a list of options with SdShowInfoList(...) that can not be edited. HTH, Johannes
... View more
Mar 11, 2011
09:29 AM
I do somethig similar, only a setup.rul with declare ... program START: ... endprogram I do everything "manually", show dialogs, copy files and much, much more. You don't really have to use events. You can show the status window with something like this: Enable(STATUS); StatusUpdate (ON, 10); SetStatusWindow (10, "We're doing useful things..."); // Do something useful... SetStatusWindow (20, "..."); Disable(STATUS) Check the SetStatusWindow Example in the manual. HTH, Johannes
... View more
Mar 11, 2011
09:22 AM
I guess your product has still an entry in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall Remove (or rename at first) the subkey of your product, the "strange" number should be the ProductGUID in your setup.ini. HTH, Johannes
... View more
Mar 11, 2011
09:15 AM
Hi Christian, not really sure what you're looking for, but you can access _the_ path variable (containing the ; separated list of folders) via RegDbGetKeyValueEx and the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment / value: Path. As far as I know, changes take effect after the next reboot. HTH, Johannes
... View more
Mar 11, 2011
09:11 AM
Hi, there is a Installscript function DialogSetInfo which can be used to change this image. BUT, afaik, installscript is not available for the express edition, which is why I guess you can't do this at all.
... View more
Mar 11, 2011
03:16 AM
Hi Tim, as far as I know (and I googled a lot), you have the following options depending on the project type: Installscript: Use CMDLINE to acces the whole command line Installscipt MSI: Pass variables with setup.exe /z”arg1=value1 arg2=value2 arg3=value3″ Basic MSI: You can only set properties with setup.exe /v"PROP=DATA" I don't know of any way to access the whole command line in Basic MSI. HTH, Johannes
... View more
Nov 08, 2010
05:49 AM
But you can, of course, write a script function that removes a variable from the path registry value.
... View more
Nov 03, 2010
03:44 AM
The documentation states: "In Basic MSI projects, you can pass public properties through Setup.exe to Msiexec.exe using the /v command-line argument. "
... View more
Sep 01, 2010
02:55 AM
Hi, sorry for this late response! I'm not aware of any other way to check this. But note, that the registry value I mentioned exists only if a reboot is needed. Greetings Johannes
... View more
Aug 19, 2010
04:35 AM
I needed the same function some moth ago. In my case (I don't know if this is a sufficient condition in general) I checked this via the registry value: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations. When an installation is unable to replace/delete some file, it often uses this value to let windows change this at the next startup. The software I had to install always wanted a reboot when this value was set. Hth, Jo
... View more
Jul 26, 2010
03:16 AM
Interesting fact, this sentence is also contained in the IS2009 documentation but I can't producude the mentioned error either. This limitation would be really bad. Would be great when a IS developer could say a word about this. Greetings Jo
... View more
Jul 21, 2010
03:19 AM
Hey Vithal, I can't reproduce your problem. Do you see the "Attention, caps lock activated"* message when you activate it while the password field has the focus? Greetings *) Don't know the english message.
... View more
Jul 19, 2010
04:31 AM
If you have only these two features, you could use SdAskOptionsList. It show a window with radio buttons (instead of check boxes).
... View more
Latest posts by Johannes_T
Subject | Views | Posted |
---|---|---|
893 | Mar 31, 2011 03:53 AM | |
2647 | Mar 30, 2011 09:51 AM | |
589 | Mar 11, 2011 09:33 AM | |
820 | Mar 11, 2011 09:29 AM | |
632 | Mar 11, 2011 09:22 AM | |
1545 | Mar 11, 2011 09:15 AM | |
903 | Mar 11, 2011 09:11 AM | |
1283 | Mar 11, 2011 03:16 AM | |
753 | Nov 08, 2010 05:49 AM | |
1283 | Nov 03, 2010 03:44 AM |
Activity Feed
- Got a Kudo for Re: How to "phone home" from setup interview. Apr 19, 2021 09:04 AM
- Posted Re: Constants in inx file on InstallShield Forum. Mar 31, 2011 03:53 AM
- Posted Constants in inx file on InstallShield Forum. Mar 30, 2011 09:51 AM
- Posted Re: Non editable text box for user choice summery in GUI on InstallShield Forum. Mar 11, 2011 09:33 AM
- Posted Re: Writing an installscript project to deploy an EAR File on InstallShield Forum. Mar 11, 2011 09:29 AM
- Posted Re: Install was inadvertently logged while testing, how do I fix? on InstallShield Forum. Mar 11, 2011 09:22 AM
- Posted Re: Is there a way to use Path Variables in InstallScript? on InstallShield Forum. Mar 11, 2011 09:15 AM
- Posted Re: Change image to the top of setup dialog on InstallShield Forum. Mar 11, 2011 09:11 AM
- Posted Re: How to get commandline inputs? on InstallShield Forum. Mar 11, 2011 03:16 AM
- Posted Re: Remove Path variable on InstallShield Forum. Nov 08, 2010 05:49 AM
- Posted Re: How to get commandline inputs? on InstallShield Forum. Nov 03, 2010 03:44 AM
- Posted Re: How to detect whether a system requires a reboot or not?? on InstallShield Forum. Sep 01, 2010 02:55 AM
- Posted Re: How to detect whether a system requires a reboot or not?? on InstallShield Forum. Aug 19, 2010 04:35 AM
- Posted Re: Autosized Strings by ref in InstallScript on InstallShield Forum. Jul 26, 2010 03:16 AM
- Posted Re: Caps Lock popup message hiding radio buttons on InstallShield Forum. Jul 21, 2010 03:19 AM
- Posted Re: How to add conditions when selecting features on InstallShield Forum. Jul 19, 2010 04:31 AM
- Posted Re: Question about verifying my IS2009 license on InstallShield Forum. Jun 28, 2010 03:01 AM
- Posted Re: Test Utility? on InstallShield Forum. Jun 21, 2010 03:09 AM
- Posted Re: Technical Support on InstallShield Forum. Jun 21, 2010 03:02 AM
- Posted Re: Submitting bugs and feature requests on InstallShield Forum. Jun 02, 2010 08:44 AM