May 27, 2010
09:05 PM
Hello, Kevin Of course, I tried to use SYSINFO information. But The below information is the same as GetInfoEx's. SYSINFO.nOSMajor -> 6 SYSINFO.nOSMinor -> 0 SYSINFO.nWinMajor -> 6 SYSINFO.nWnMinor -> 0 Regards, chocodachs
... View more
May 27, 2010
03:26 AM
I tried to change a user defined property in a InstallScript, as below operation, but it cannot be changed after processing its InstallScript. 1) Add new property by Property Manager. Name: ETYPE Value: NULL 2) Write a simple InstallScript , in which I use MsiSetProperty function. #include "ifx.h" export prototype MyFunction(HWND); function MyFunction(hMSI) begin MsiSetProperty(ISMSI_HANDLE, "ETYPE", "HELLO"); end; 3) Insert this custom action(InstallScript) by Custom Action Wizard. Insert it in in Install UI Sequence. As I check its property in MSI debugger, it is not changed (NULL). Could someone point out my mistake, please ? Is it not possible by InstallScript ? or Is the function(MsiSetProperty) not correct ? or Is Sequence inserted not wrong ? Please help me.
... View more
Labels
- Labels:
-
InstallShield 2010
May 26, 2010
11:20 PM
Thank you, MichaelU. As "idriver.exe" is running in compatible mode, GetVersionInfo returns the information incorrectly, I've heard. In such a case, are nServicePackMajor and nServicePackMinor returned incorrect value ?
... View more
May 24, 2010
05:59 AM
There was a type miss in the Previous post. The number of nMajorVersion was correctly 6. Sorry
... View more
May 24, 2010
05:56 AM
I try to check if Windows 7 or not, using GetVersionEx in Install Script. However, When I debugged as below Script in Windows 7, th nimber of nMinorVersion was returned 0. (The Number of nMajorVersion was correctlly returned 1.) Could someone help me, please ? // ---------------------------------------------------------------------- // InstallScript: // // ---------------------------------------------------------------------- #include "ifx.h" export prototype MyFunction(HWND); OSVERSIONINFOEX osvi; BOOL bAns; number nMajorVersion; number nMinorVersion; function MyFunction(hMSI) begin osvi.nOSVersionInfoSize = SizeOf(osvi); bAns = GetVersionEx(&osvi); nMajorVersion = osvi.nMajorVersion; nMinorVersion = osvi.nMinorVersion; end;
... View more
Labels
- Labels:
-
InstallShield 2010
Sep 14, 2009
09:14 PM
Could someone please help me? Problem: After the software is installed, - I try to install the same version software (the same installer). - "Program Maintenance" Dialog (See attached file) is appeared. - As selecting "Modify" and clicking "Next" button, "Custom Setup" Dialog is appeared. - The dialog has no meaning, because my software has no program feature. How should I do? I should create its installer that doesn't display "Program Maintenance" Dialog, or that doesn't display "Modify" select. And If I can the above, could you please tell me how sholud I do in InsatllShield?
... View more
Labels
- Labels:
-
InstallShield 2008
Latest posts by chocodachs
Subject | Views | Posted |
---|---|---|
480 | Jun 01, 2010 12:20 AM | |
1088 | May 27, 2010 09:05 PM | |
1457 | May 27, 2010 03:26 AM | |
1088 | May 26, 2010 11:20 PM | |
1088 | May 24, 2010 05:59 AM | |
5219 | May 24, 2010 05:56 AM | |
1366 | Sep 14, 2009 09:14 PM |
Activity Feed
- Posted Thank you, Kevin on InstallShield Forum. Jun 01, 2010 12:20 AM
- Posted SYSINFO information is the same as GetVersionEx's on InstallShield Forum. May 27, 2010 09:05 PM
- Posted I have a problem changing User Defined Property in InstallScript. on InstallShield Forum. May 27, 2010 03:26 AM
- Posted Thank you, MichaelU on InstallShield Forum. May 26, 2010 11:20 PM
- Posted Sorry, nMajorVersion = 6 on InstallShield Forum. May 24, 2010 05:59 AM
- Posted Check if WIndows 7 or not, usingGetVersionEx on InstallShield Forum. May 24, 2010 05:56 AM
- Posted About "Program Maintenace Dialog" on InstallShield Forum. Sep 14, 2009 09:14 PM