Jun 09, 2008
09:51 AM
I got this error in Visual Studio. I'm currently writing a little script to build release on our build machine with Standalone Build. The complete message is : A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in InstallerModifier.exe An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in InstallerModifier.exe Additional information: This property is not supported for Professional Project. You need to remove the line that calls the property from your automation code. I was trying to add supported Language. here is the lines that make it crashes. SARelease.FilterLangs = true; SARelease.SupportedLangsData = sLanguage; sLanguage is defined that way: string[] SupportedLanguage = {"3084","1036","1033","1031","1049","1041","1037","1043"}; string sLanguage = String.Join(",",SupportedLanguage); Anyone has an idea how i could get through this OR there is just no workaround? I'm using an installScript project.
... View more
Labels
- Labels:
-
InstallShield 2008
Jun 06, 2008
04:14 PM
I have something like that SAAuto14.ISWiProject SAProject; SAAuto14.ISWiRelease SARelease; SAAuto14.ISWiProductConfig pProdConfig; string ProjectPath; ProjectPath = ""; SAProject.OpenProject(ProjectPath,false); SARelease.SmallInitializationDialog = true; SARelease.EnableLangDlg = true; SAProject.SaveProject(); SAProject.CloseProject(); }
... View more
Jun 06, 2008
02:43 PM
Thank you for your answer DebbieL. I'm kind of new to this world, so What an automation interface is suppose to do. From what i've seen so far, i'll have to do some C++ or C# code that will use that automation interface. But what am I suppose to do with it? My guess is : The C++/C# code I will do will be executed just before I launch the build to modify the property SmallInitializationDialog then build the installer with that property modified? Can someone explain a bit further please?
... View more
Jun 06, 2008
09:49 AM
ok thanks i got it! I got another question on standAlone Build. I went through the parameters and done a first try with IsSABld.exe . The install it creates isn't the same as when I use Release Wizard. I found out that in Release Wizard, there is a small check box called Display small initialization dialog. That parameter doesn't seem to exist with standAlone build. Is there a way to reproduce it in stand alone build?
... View more
Jun 05, 2008
03:30 PM
Hello, We are currently trying to include the isCmdBld.exe to a BuildSystem since we have to make a build every day. The problem, is that InstallShield isn't installed on the computer with the build System. I was wondering if there is any way i could make IsCmdBld.exe work without having InstallShield installed. (With the dlls, i don't know). InstallScript project.
... View more
Labels
- Labels:
-
InstallShield 2008
May 30, 2008
09:25 AM
nevermind, i found the problem, i feel so stupid... LongPathToQuote(szProgram,FALSE); needs to be at true..... Works fine now.
... View more
May 30, 2008
09:21 AM
Hi, On the function OnFirstUIAfter, i created a custom dialog to allow the end-user to add or not a desktop shortcut. The dialog contains a checkbox. Everything is working fine, but for an unknown reason, LongPathToQuote doesn't seem to add quotation marks. This make my shortcut not working. anyone knows what i'm doing wrong. The shortcut is only executing the .exe the install create. The path itself is ok, only the quotation mark missing. I've put message box before and after to check if it was changing anything. #define CD_CUSTOMENDING "CustomEnding" #define CD_CUSTOMENDINGID 1337 #define CD_CBOX_SHORTCUT 33 #define PROGRAM TARGETDIR ^ "Jnes.exe"; szDlg = CD_CUSTOMENDING; szProgramFolder = FOLDER_DESKTOP; szItemName = "xxxx"; szProgram = PROGRAM; MessageBox(szProgram,SEVERE); LongPathToQuote(szProgram,FALSE); szCommandLine = szProgram; szWorkingDir = ""; szIconPath = SRCDIR ^ "xxx.ico"; nIcon = 0; szShortCutKey = ""; MessageBox(szProgram,SEVERE); if (EzDefineDialog( szDlg, "", "", CD_CUSTOMENDINGID ) = DLG_ERR) then MessageBox("Not able to load CustomEnding Dialog", SEVERE); abort; endif; // Disable( BACKBUTTON ); while(!bDone) nCmdValue = WaitOnDialog(szDlg); switch(nCmdValue) case DLG_INIT: hwndDlg = CmdGetHwndDlg(szDlg); SetWindowText(hwndDlg,"xxxx - InstallShield Wizard"); case IDCANCEL: Do(EXIT); case SD_PBUT_CONTINUE: bDone = TRUE; if (CtrlGetState( szDlg, CD_CBOX_SHORTCUT) = BUTTON_CHECKED) then //Insert shortcut here if (AddFolderIcon (szProgramFolder, szItemName, szCommandLine, szWorkingDir, szIconPath, nIcon, szShortCutKey, REPLACE) < 0) then MessageBox ("AddFolderIcon failed.", SEVERE); endif;
... View more
Labels
- Labels:
-
InstallShield 2008
May 22, 2008
04:24 PM
oh yea sorry, it's an InstallScript Project. Thanks for the tip, i'll look at that function.
... View more
May 22, 2008
12:29 PM
hi guys, I've been asked to develop an install for our product. But I have to play a song, sound, music, etc in background while the software is being installed. I know that InstallShield doesn't support sound feature basically. But I've heard about using the winmm.dll to play a sound. Could someone give me more infos about it and what to use in the installscript code to make it work. Thanks! Vince
... View more
Labels
- Labels:
-
InstallShield 2008
Latest posts by FlankeD
Subject | Views | Posted |
---|---|---|
4086 | Jun 09, 2008 09:51 AM | |
1467 | Jun 06, 2008 04:14 PM | |
1467 | Jun 06, 2008 02:43 PM | |
1467 | Jun 06, 2008 09:49 AM | |
12161 | Jun 05, 2008 03:30 PM | |
745 | May 30, 2008 09:25 AM | |
5041 | May 30, 2008 09:21 AM | |
1551 | May 22, 2008 04:24 PM | |
8063 | May 22, 2008 12:29 PM |
Activity Feed
- Posted This property is not supported for Professional Project. You need to remove the line on InstallShield Forum. Jun 09, 2008 09:51 AM
- Posted Re: IsCmdBld.exe on InstallShield Forum. Jun 06, 2008 04:14 PM
- Posted Re: IsCmdBld.exe on InstallShield Forum. Jun 06, 2008 02:43 PM
- Posted Re: IsCmdBld.exe on InstallShield Forum. Jun 06, 2008 09:49 AM
- Posted IsCmdBld.exe on InstallShield Forum. Jun 05, 2008 03:30 PM
- Posted Re: Help with AddFolderIcon on InstallShield Forum. May 30, 2008 09:25 AM
- Posted Help with AddFolderIcon on InstallShield Forum. May 30, 2008 09:21 AM
- Posted Re: Playing a sound in loop. on InstallShield Forum. May 22, 2008 04:24 PM
- Posted Playing a sound in loop. on InstallShield Forum. May 22, 2008 12:29 PM