Hi,

I'm trying to create a windows installer package for my application using InstallShield. I've created a FilesinUse dialog with Retry, Ignore and Cancel buttons.

On Windows 7 during installvalidate action if a file is in use then this dialog is displayed but if user clicks Retry then instead of doing the costing again it simply goes ahead with the installation. Entries in ControlEvent table are proper.

I can see following lines in MSI log after user clicks Retry button:

MSI (s) (2C:B8) [07:06:44:680]: Note: 1: 2205 2: 3: BindImage
MSI (s) (2C:B8) [07:06:44:680]: Note: 1: 2205 2: 3: PublishComponent
MSI (s) (2C:B8) [07:06:44:680]: Note: 1: 2205 2: 3: Font
MSI (s) (2C:B8) [07:06:44:680]: Note: 1: 2262 2: Class 3: -2147287038
MSI (s) (2C:B8) [07:06:44:680]: PROPERTY CHANGE: Modifying CostingComplete property. Its current value is '1'. Its new value: '0'.
MSI (s) (2C:B8) [07:06:45:368]: PROPERTY CHANGE: Modifying CostingComplete property. Its current value is '0'. Its new value: '1'.
MSI (s) (2C:B8) [07:06:45:368]: Note: 1: 2205 2: 3: BindImage
MSI (s) (2C:B8) [07:06:45:368]: Note: 1: 2205 2: 3: PublishComponent
MSI (s) (2C:B8) [07:06:45:368]: Note: 1: 2205 2: 3: Font
MSI (s) (2C:B8) [07:06:45:368]: Note: 1: 2262 2: Class 3: -2147287038
MSI (s) (2C:B8) [07:06:45:368]: Note: 1: 2727 2:
MSI (s) (2C:B8) [07:06:45:368]: Note: 1: 2727 2:
Action ended 7:06:45: InstallValidate. Return value 1.

Interestingly problem happens only on Windows 7 (windows installer version 5.0) and Windows XP (Windows Installer Version 4.5) works fine.

Is this a known/documented issue with Windows 7? Why is this happening?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
I am also facing the same Issue in windows installer 5.0. previous version works fine.
Can anyody help me?
Answered 02/06/2012 by: Shah
Yellow Belt

Please log in to comment
0
We also faced similar issue on Win 7 , are you using /qn or /q only ?..The trick lies to change this switch it will work.
Answered 02/06/2012 by: blacklisted_packager
Orange Belt

Please log in to comment
0
hey,
thanks for the quick reply.
I dont get your question.
I guess /qn is for silent installtion. But I am not doing it in silent mode.
Answered 02/06/2012 by: Shah
Yellow Belt

Please log in to comment
0
I am not doing it in silent mode.Your users have rights to install software?!?!?!?
Answered 02/06/2012 by: VBScab
Red Belt

Please log in to comment
0
yes.. we do have all the rights.. but this issue is not related to permission.
We are able to install on windows installer 4.5.. Only 5.0 gives a problem.
Is there any property or key need to be set before building exe??
Answered 02/07/2012 by: Shah
Yellow Belt

Please log in to comment
0
This is a issue with Windows installer 5.0 and there are no workarounds. You can investigate restart manager if it fits into your requirements (RM is not supported on XP).........
Answered 02/08/2012 by: deployX
Orange Senior Belt

Please log in to comment
0
We have opened a case with MS for this. Will post here if MS suggests any workarounds or hotfix.
Answered 02/08/2012 by: deployX
Orange Senior Belt

Please log in to comment
Answer this question or Comment on this question for clarity