Nov 21, 2014
03:02 PM
Hi, I have my own custom action written in C# using DTF (http://blog.deploymentengineering.com/2008/05/deployment-tools-foundation-dtf-custom.html). I have two questions: 1) Is there a way to access the localized strings in the InstallShield String Editor from within my custom action? Obtaining a property looks like: [CODE] strVar = session["INSTALLDIR"];[/CODE] I was hoping i could acess a localized string by doing something similar: [CODE]strVar = session["ID_MYSTRING"];[/CODE] But this does not work. 2) Is there a way to access the Preprocessor Defines set in the Product Configuration (in InstallShield) in my custom action? Thanks.
... View more
Labels
- Labels:
-
InstallShield 2014
Nov 13, 2012
09:10 AM
It sounds like this option would probably fix the issue. Unfortunately, it appears this option is not available in Installshield 2008 and was added as a new feature in Installshield 2010. Thanks.
... View more
Nov 12, 2012
05:12 PM
I am running into the following issue (on English Win 7 with English Local): When installing a product (Basic MSI Project), if I do a "Custom" install, and use Japanese characters (ex: テストパス) in the install path (or select a folder containing Japanese characters in the name), the install will succeed, as long as I don't perform any operations on INSTALLDIR. Now, if I try and modify INSTALLDIR using MsiSetProperty, the installation will return the following error: Error 1324. The path ????? contains an invalid character. Also, if I try to use MsiGetProperty and print the value of INSTALLDIR using MessageBox, it will print questions marks "?????". If I change the system locale to "Japanese", everything works. It almost seems like performing an operation in the installscript (MsiGetProperty/MsiSetProperty") might be changing the text from Unicode to ANSI? I've tried using STRING and WSTRING in MsiGetProperty/MsiSetProperty. Is there anything I can do to make this work in the English local, or will I be required to change the local to have foreign characters in INSTALLDIR? Thanks.
... View more
Labels
- Labels:
-
InstallShield 2008
Dec 30, 2011
05:19 PM
Never mind. Apparently it is not possible in a basic msi project: http://kb.flexerasoftware.com/doc/Helpnet/installshield16helplib_sp1/CustomDialogTips.htm
... View more
Dec 29, 2011
05:38 PM
I have a custom dialog that I made in the dialog user interface. I don't want it to be displayed as part of the normal dialog sequence (ie: clicking the next button of a previous dialog). Instead, I want to display it using code. The name of the dialog I created in the dialog interface is "MyDialog". My code is as follows: nResult = EzDefineDialog("MyDialog","","MyDialog",NULL); nResult = WaitOnDialog("MyDialog"); This is currently not working. nResult returns 0 on the EzDefineDialog call, but nResult returns -1 during the WaitOnDialog call and nothing happens. Am I doing something wrong here? Also, I'm not sure if this matters or not, but this would be the second custom dialog being displayed on the screen at the same time (maybe this isn't possible?). Basically, the installation proceeds from dialog to dialog when the user hits the next button (or back/cancel/etc.). At some point during this sequence, I want to call "MyDialog" manually. So, the normal installation sequence will still be hanging around in the background until I have exited from "MyDialog". This is a basic msi project. Any Ideas? Thanks.
... View more
Labels
- Labels:
-
InstallShield 2008
Jul 14, 2011
06:23 PM
Worked perfectly. Thanks.
... View more
Jul 13, 2011
10:00 PM
I need to check if a file (in this case an executable) of an installed program is 32 or 64 bit. Does installshield provide a method to do this? I was thinking something with GetFileInfo(), but it doesn't seem to provide any options of finding if the file is 32 or 64 bit. Any ideas? (this is for a basic msi project on a windows machine) Thanks.
... View more
Labels
- Labels:
-
InstallShield 2008
Latest posts by numberofcode
Subject | Views | Posted |
---|---|---|
977 | Nov 21, 2014 03:02 PM | |
1048 | Nov 13, 2012 09:10 AM | |
3490 | Nov 12, 2012 05:12 PM | |
538 | Dec 30, 2011 05:19 PM | |
2105 | Dec 29, 2011 05:38 PM | |
745 | Jul 14, 2011 06:23 PM | |
3376 | Jul 13, 2011 10:00 PM |
Activity Feed
- Posted Accessing Localized Strings and Preprocessor Defines through DTF on InstallShield Forum. Nov 21, 2014 03:02 PM
- Posted Re: Japanese Characters in INSTALLDIR on InstallShield Forum. Nov 13, 2012 09:10 AM
- Posted Japanese Characters in INSTALLDIR on InstallShield Forum. Nov 12, 2012 05:12 PM
- Posted Re: Displaying a custom dialog on InstallShield Forum. Dec 30, 2011 05:19 PM
- Posted Displaying a custom dialog on InstallShield Forum. Dec 29, 2011 05:38 PM
- Posted Re: Detecting if a file is 32 or 64 bit on InstallShield Forum. Jul 14, 2011 06:23 PM
- Posted Detecting if a file is 32 or 64 bit on InstallShield Forum. Jul 13, 2011 10:00 PM