PDA

View Full Version : MInor upgrade dosen't works



menos16
11-18-2008, 12:43 PM
Hello people, i have a big trouble and i need some help ...

Working with IS14 i have a trouble: my minor upgrade dosen't write/overwrite ANY files. :eek:

I had created an installer, setup.exe -basic msi project-, with version 4.0.164 that works correctly but when i run the following version 4.0.169... any file is updated or repaired; the components are compiled with static linking into the project.

I had read the forums and checked that the codes weren't changed , concretely:

Package, Product and Upgrade Code, don't change between the packages, which to me seems right... because i want a minor upgrade.

When i execute the installer 169 over the previous installation 164, the windows "this setup will perform an upgrade ...." appears but don't overwrite any file with newer version (the progess of this upgrade is very very fast).

Also i had checked that if i delete all files and directories installed before the upgrade, only some components (2) of the [installdir] are fixed, other components in subdirectories are fixed and updated correctly...

I checked the the view components in IS and see that the component GUIDs not had changed beteewn 2 versions ... :confused:

Of course the log generated dosen't shows any problem... and the installation finally corectly.

some clue for me? thanks in advanced

(and sorry my poor english)

Christopher Painter
11-18-2008, 10:11 PM
Are the files consumed by your installer properly versioned by the upstream build process?

If you don't properly increment the build number from one build to another, MSI will think there is no work to perform while costing the upgrade.

menos16
11-19-2008, 04:44 AM
Im not sure about you are asking me...

The number of General information, Product Properties, Version, has been increased from 4.0.164 to 4.0.169.

And the files copiled in the project ...

http://img246.imageshack.us/my.php?image=installshieldgw8.jpg

menos16
11-20-2008, 04:15 AM
i answer yesterday but the reply will be waitting for moderator approval.
i try again:

1) yes, some of these binary files are increased its version number (for example: 4.0.19.x to 4.0.22.x)

2) yes, the build version of the package has been increased too; 4.0.164 -> 4.0.169.

i don't see where can be the problem...

thanks again

TheResearch
11-20-2008, 05:42 AM
Are you sure the files that are not getting upgraded have the incremented file version?

You have mentioned that you have the same Package, Product and Upgrade Codes. But for every release the package code needs to be changed.

Change your package codes and try again.

Christopher Painter
11-20-2008, 07:45 AM
It's not going to be a PackageCode problem, ( InstallShield defaults this to update at each build anyways)... if the PackageCode wasn't unique, running the second build would result in a maintenance experience rather then an upgrade experience.

RE: incremented file versions, be very certain that it's the FileVersion (AssemblyFileVersion in C#; not AssemblyVersion ) thats getting updated. Also run an upgrade with logging turned on ( and possibly post it here ) and that will point you in the direction of what's going wrong.

KathyMorey
11-20-2008, 09:35 AM
You might also try running validation on your package to see if that points out any problems.

menos16
11-20-2008, 11:41 AM
First thanks for your replies, i appreciate your help.

Bellow i paste installation log of the upgrade 4.0.166 over the 4.0.164 (win-2003), in this time i built the "setup.exe" with IS12. And the problem continues...

I went back, through backup, for if it was helpfull. And i'm more familiar with 12 (I suppose that there isn't incovenient with IS12).

I maintain all parameters said before:

Product code and upgrade code no change between 4.0.164 and later versions. The GUID componentes are the same too....
Like said Christopher "PackageCode" should not be a problem, (chages automatically with every release), but i wasn't sure... i was testing ...


About the other data of Christopher... the version of the files would not be the problem... because i had another packages with the exactly the same files and versions, and following the same rules, and are updated correctly ..... :confused:


=== Logging started: 20/11/2008 16:38:46 ===
Action 16:38:46: INSTALL.
Action start 16:38:46: INSTALL.
Action 16:38:46: DLLWrapStartup.
Action start 16:38:46: DLLWrapStartup.
Action ended 16:38:46: DLLWrapStartup. Return value 1.
Action 16:38:46: AppSearch. Searching for installed applications
Action start 16:38:46: AppSearch.
Action ended 16:38:46: AppSearch. Return value 0.
Action 16:38:46: SetupInitialization.
Action start 16:38:46: SetupInitialization.
Info 2898.For Tahoma8 textstyle, the system created a 'Tahoma' font, in 0 character set.
Info 2898.For TahomaBold10 textstyle, the system created a 'Tahoma' font, in 0 character set.
Action 16:38:46: SetupInitialization. Dialog created
Action ended 16:38:46: SetupInitialization. Return value 1.
Action 16:38:46: FindRelatedProducts. Searching for related applications
Action start 16:38:46: FindRelatedProducts.
Action ended 16:38:46: FindRelatedProducts. Return value 0.
Action 16:38:46: ValidateProductID.
Action start 16:38:46: ValidateProductID.
Action ended 16:38:46: ValidateProductID. Return value 1.
Action 16:38:46: CostInitialize. Computing space requirements
Action start 16:38:46: CostInitialize.
Action ended 16:38:46: CostInitialize. Return value 1.
Action 16:38:46: FileCost. Computing space requirements
Action start 16:38:46: FileCost.
Action ended 16:38:46: FileCost. Return value 1.
Action 16:38:46: IsolateComponents.
Action start 16:38:46: IsolateComponents.
Action ended 16:38:46: IsolateComponents. Return value 0.
Action 16:38:46: setUserProfileNT.
Action start 16:38:46: setUserProfileNT.
Action ended 16:38:46: setUserProfileNT. Return value 1.
Action 16:38:46: setAllUsersProfile2K.
Action start 16:38:46: setAllUsersProfile2K.
Action ended 16:38:46: setAllUsersProfile2K. Return value 1.
Action 16:38:46: CostFinalize. Computing space requirements
Action start 16:38:46: CostFinalize.
Action ended 16:38:46: CostFinalize. Return value 1.
Action 16:38:46: MigrateFeatureStates. Migrating feature states from related applications
Action start 16:38:46: MigrateFeatureStates.
Action ended 16:38:46: MigrateFeatureStates. Return value 0.
Action 16:38:46: SetupResume.
Action start 16:38:46: SetupResume.
Action 16:38:46: SetupResume. Dialog created
Action ended 16:38:52: SetupResume. Return value 1.
Action 16:38:52: SetupProgress.
Action start 16:38:52: SetupProgress.
Info 2898.For MSSansBold8 textstyle, the system created a 'Tahoma' font, in 0 character set.
Info 2898.For MSSWhiteSerif8 textstyle, the system created a 'Tahoma' font, in 0 character set.
Action 16:38:52: SetupProgress. Dialog created
Action ended 16:38:52: SetupProgress. Return value 1.
Action 16:38:52: ExecuteAction.
Action start 16:38:52: ExecuteAction.
Action 16:38:52: INSTALL.
Action start 16:38:52: INSTALL.
Action 16:38:52: DLLWrapStartup.
Action start 16:38:52: DLLWrapStartup.
Action ended 16:38:53: DLLWrapStartup. Return value 1.
Action 16:38:53: AppSearch. Searching for installed applications
Action start 16:38:53: AppSearch.
Action ended 16:38:53: AppSearch. Return value 0.
Action 16:38:53: LaunchConditions. Evaluating launch conditions
Action start 16:38:53: LaunchConditions.
Action ended 16:38:53: LaunchConditions. Return value 1.
Action 16:38:53: FindRelatedProducts. Searching for related applications
Action start 16:38:53: FindRelatedProducts.
Action ended 16:38:53: FindRelatedProducts. Return value 0.
Action 16:38:53: ValidateProductID.
Action start 16:38:53: ValidateProductID.
Action ended 16:38:53: ValidateProductID. Return value 1.
Action 16:38:53: CostInitialize. Computing space requirements
Action start 16:38:53: CostInitialize.
Action ended 16:38:53: CostInitialize. Return value 1.
Action 16:38:53: FileCost. Computing space requirements
Action start 16:38:53: FileCost.
Action ended 16:38:53: FileCost. Return value 1.
Action 16:38:53: IsolateComponents.
Action start 16:38:53: IsolateComponents.
Action ended 16:38:53: IsolateComponents. Return value 0.
Action 16:38:53: CostFinalize. Computing space requirements
Action start 16:38:53: CostFinalize.
Action ended 16:38:53: CostFinalize. Return value 1.
Action 16:38:53: SetODBCFolders. Initializing ODBC directories
Action start 16:38:53: SetODBCFolders.
Action ended 16:38:53: SetODBCFolders. Return value 0.
Action 16:38:53: MigrateFeatureStates. Migrating feature states from related applications
Action start 16:38:53: MigrateFeatureStates.
Action ended 16:38:53: MigrateFeatureStates. Return value 0.
Action 16:38:53: InstallValidate. Validating install
Action start 16:38:53: InstallValidate.
Action ended 16:38:53: InstallValidate. Return value 1.
Action 16:38:53: InstallInitialize.
Action start 16:38:53: InstallInitialize.
Action ended 16:38:53: InstallInitialize. Return value 1.
Action 16:38:53: ProcessComponents. Updating component registration
Action start 16:38:53: ProcessComponents.
Action ended 16:38:53: ProcessComponents. Return value 1.
Action 16:38:53: UnpublishComponents. Unpublishing Qualified Components
Action start 16:38:53: UnpublishComponents.
Action ended 16:38:53: UnpublishComponents. Return value 0.
Action 16:38:53: MsiUnpublishAssemblies. Unpublishing assembly information
Action start 16:38:53: MsiUnpublishAssemblies.
Action ended 16:38:53: MsiUnpublishAssemblies. Return value 0.
Action 16:38:53: UnpublishFeatures. Unpublishing product features
Action start 16:38:53: UnpublishFeatures.
Action ended 16:38:53: UnpublishFeatures. Return value 1.
Action 16:38:53: StopServices. Stopping services
Action start 16:38:53: StopServices.
Action ended 16:38:53: StopServices. Return value 1.
Action 16:38:53: DeleteServices. Deleting services
Action start 16:38:53: DeleteServices.
Action ended 16:38:53: DeleteServices. Return value 1.
Action 16:38:53: UnregisterComPlus. Unregistering COM+ Applications and Components
Action start 16:38:53: UnregisterComPlus.
Action ended 16:38:53: UnregisterComPlus. Return value 0.
Action 16:38:53: SelfUnregModules. Unregistering modules
Action start 16:38:53: SelfUnregModules.
Action ended 16:38:53: SelfUnregModules. Return value 1.
Action 16:38:53: UnregisterTypeLibraries. Unregistering type libraries
Action start 16:38:53: UnregisterTypeLibraries.
Action ended 16:38:53: UnregisterTypeLibraries. Return value 1.
Action 16:38:53: RemoveODBC. Removing ODBC components
Action start 16:38:53: RemoveODBC.
Action 16:38:53: GenerateScript. Generating script operations for action:
GenerateScript: Removing ODBC components
Action ended 16:38:53: RemoveODBC. Return value 1.
Action 16:38:53: UnregisterFonts. Unregistering fonts
Action start 16:38:53: UnregisterFonts.
Action ended 16:38:53: UnregisterFonts. Return value 1.
Action 16:38:53: RemoveRegistryValues. Removing system registry values
Action start 16:38:53: RemoveRegistryValues.
Action ended 16:38:53: RemoveRegistryValues. Return value 1.
Action 16:38:53: UnregisterClassInfo. Unregister class servers
Action start 16:38:53: UnregisterClassInfo.
Action ended 16:38:53: UnregisterClassInfo. Return value 1.
Action 16:38:53: UnregisterExtensionInfo. Unregistering extension servers
Action start 16:38:53: UnregisterExtensionInfo.
Action ended 16:38:53: UnregisterExtensionInfo. Return value 1.
Action 16:38:53: UnregisterProgIdInfo. Unregistering program identifiers
Action start 16:38:53: UnregisterProgIdInfo.
Action ended 16:38:53: UnregisterProgIdInfo. Return value 1.
Action 16:38:53: UnregisterMIMEInfo. Unregistering MIME info
Action start 16:38:53: UnregisterMIMEInfo.
Action ended 16:38:53: UnregisterMIMEInfo. Return value 0.
Action 16:38:53: RemoveIniValues. Removing INI file entries
Action start 16:38:53: RemoveIniValues.
Action ended 16:38:53: RemoveIniValues. Return value 1.
Action 16:38:53: RemoveShortcuts. Removing shortcuts
Action start 16:38:53: RemoveShortcuts.
Action ended 16:38:53: RemoveShortcuts. Return value 1.
Action 16:38:53: RemoveEnvironmentStrings. Updating environment strings
Action start 16:38:53: RemoveEnvironmentStrings.
Action ended 16:38:53: RemoveEnvironmentStrings. Return value 1.
Action 16:38:53: RemoveDuplicateFiles. Removing duplicated files
Action start 16:38:53: RemoveDuplicateFiles.
Action ended 16:38:53: RemoveDuplicateFiles. Return value 1.
Action 16:38:53: RemoveFiles. Removing files
Action start 16:38:53: RemoveFiles.
Action ended 16:38:53: RemoveFiles. Return value 1.
Action 16:38:53: RemoveFolders. Removing folders
Action start 16:38:53: RemoveFolders.
Action ended 16:38:53: RemoveFolders. Return value 1.
Action 16:38:53: CreateFolders. Creating folders
Action start 16:38:53: CreateFolders.
Action ended 16:38:53: CreateFolders. Return value 1.
Action 16:38:53: MoveFiles. Moving files
Action start 16:38:53: MoveFiles.
Action ended 16:38:53: MoveFiles. Return value 1.
Action 16:38:53: InstallFiles. Copying new files
Action start 16:38:53: InstallFiles.
InstallFiles: File: Copying new files, Directory: , Size:
Action ended 16:38:53: InstallFiles. Return value 1.
Action 16:38:53: PatchFiles. Patching files
Action start 16:38:53: PatchFiles.
Action ended 16:38:53: PatchFiles. Return value 0.
Action 16:38:53: DuplicateFiles. Creating duplicate files
Action start 16:38:53: DuplicateFiles.
Action ended 16:38:53: DuplicateFiles. Return value 1.
Action 16:38:53: BindImage. Binding executables
Action start 16:38:53: BindImage.
Action ended 16:38:53: BindImage. Return value 1.
Action 16:38:53: CreateShortcuts. Creating shortcuts
Action start 16:38:53: CreateShortcuts.
Action ended 16:38:53: CreateShortcuts. Return value 1.
Action 16:38:53: RegisterClassInfo. Registering class servers
Action start 16:38:53: RegisterClassInfo.
RegisterClassInfo: Class ID: Registering class servers
Action ended 16:38:53: RegisterClassInfo. Return value 1.
Action 16:38:53: RegisterExtensionInfo. Registering extension servers
Action start 16:38:53: RegisterExtensionInfo.
Action ended 16:38:53: RegisterExtensionInfo. Return value 1.
Action 16:38:53: RegisterProgIdInfo. Registering program identifiers
Action start 16:38:53: RegisterProgIdInfo.
RegisterProgIdInfo: ProgID: Registering program identifiers
Action ended 16:38:53: RegisterProgIdInfo. Return value 1.
Action 16:38:53: RegisterMIMEInfo. Registering MIME info
Action start 16:38:53: RegisterMIMEInfo.
Action ended 16:38:53: RegisterMIMEInfo. Return value 0.
Action 16:38:53: WriteRegistryValues. Writing system registry values
Action start 16:38:53: WriteRegistryValues.
Action ended 16:38:53: WriteRegistryValues. Return value 1.
Action 16:38:53: WriteIniValues. Writing INI file values
Action start 16:38:53: WriteIniValues.
Action ended 16:38:53: WriteIniValues. Return value 1.
Action 16:38:53: WriteEnvironmentStrings. Updating environment strings
Action start 16:38:53: WriteEnvironmentStrings.
Action ended 16:38:53: WriteEnvironmentStrings. Return value 1.
Action 16:38:53: RegisterFonts. Registering fonts
Action start 16:38:53: RegisterFonts.
Action ended 16:38:53: RegisterFonts. Return value 1.
Action 16:38:53: InstallODBC. Installing ODBC components
Action start 16:38:53: InstallODBC.
Action ended 16:38:53: InstallODBC. Return value 0.
Action 16:38:53: RegisterTypeLibraries. Registering type libraries
Action start 16:38:53: RegisterTypeLibraries.
Action ended 16:38:53: RegisterTypeLibraries. Return value 1.
Action 16:38:53: SelfRegModules. Registering modules
Action start 16:38:53: SelfRegModules.
Action ended 16:38:53: SelfRegModules. Return value 1.
Action 16:38:53: RegisterComPlus. Registering COM+ Applications and Components
Action start 16:38:53: RegisterComPlus.
Action ended 16:38:53: RegisterComPlus. Return value 0.
Action 16:38:53: InstallServices. Installing new services
Action start 16:38:53: InstallServices.
Action ended 16:38:53: InstallServices. Return value 1.
Action 16:38:53: StartServices. Starting services
Action start 16:38:53: StartServices.
Action ended 16:38:53: StartServices. Return value 1.
Action 16:38:53: RegisterUser. Registering user
Action start 16:38:53: RegisterUser.
Action ended 16:38:53: RegisterUser. Return value 0.
Action 16:38:53: RegisterProduct. Registering product
Action start 16:38:53: RegisterProduct.
RegisterProduct: Registering product
Action ended 16:38:53: RegisterProduct. Return value 1.
Action 16:38:53: PublishComponents. Publishing qualified components
Action start 16:38:53: PublishComponents.
Action ended 16:38:53: PublishComponents. Return value 0.
Action 16:38:53: MsiPublishAssemblies. Publishing assembly information
Action start 16:38:53: MsiPublishAssemblies.
Action ended 16:38:53: MsiPublishAssemblies. Return value 0.
Action 16:38:53: PublishFeatures. Publishing product features
Action start 16:38:53: PublishFeatures.
PublishFeatures: Feature: Publishing product features
Action ended 16:38:53: PublishFeatures. Return value 1.
Action 16:38:53: PublishProduct. Publishing product information
Action start 16:38:53: PublishProduct.
1: Publishing product information
Action ended 16:38:53: PublishProduct. Return value 1.
Action 16:38:53: InstallExecute.
Action start 16:38:53: InstallExecute.
Action 16:38:53: RemoveODBC. Removing ODBC components
Action 16:38:53: InstallFiles. Copying new files
Action 16:38:53: RegisterClassInfo. Registering class servers
RegisterClassInfo: Class ID: {D7CA3941-DA83-4C87-949A-60DF378DD68E}
Action 16:38:53: RegisterProgIdInfo. Registering program identifiers
RegisterProgIdInfo: ProgID: RFComAPI.FaxServer.1
Action 16:38:53: RegisterProduct. Registering product
RegisterProduct: 56f4ab54.msi
RegisterProduct: {6764CEB8-FF87-4D25-8779-0C0EBC8B4C8F}
Action 16:38:53: PublishFeatures. Publishing product features
PublishFeatures: Feature: AlwaysInstall
Action 16:38:53: PublishProduct. Publishing product information
1: ARPPRODUCTICON.exe
Action ended 16:38:53: InstallExecute. Return value 1.
Action 16:38:53: InstallFinalize.
Action start 16:38:53: InstallFinalize.
Action 16:38:53: RollbackCleanup. Removing backup files
RollbackCleanup: File: C:\Config.Msi\57078436.rbf
RollbackCleanup: File: C:\Config.Msi\57078438.rbf
Action ended 16:38:53: InstallFinalize. Return value 1.
Action 16:38:53: RemoveExistingProducts. Removing applications
Action start 16:38:53: RemoveExistingProducts.
Action ended 16:38:53: RemoveExistingProducts. Return value 0.
Action ended 16:38:53: INSTALL. Return value 1.
Action ended 16:38:53: ExecuteAction. Return value 1.
Action 16:38:53: SetupCompleteSuccess.
Action start 16:38:53: SetupCompleteSuccess.
Action 16:38:53: SetupCompleteSuccess. Dialog created
Action 16:38:55: IS_LAUNCH_MY_PROGRAM_PLEASE.
Action start 16:38:55: IS_LAUNCH_MY_PROGRAM_PLEASE.
Info 2726.Action not found: IS_LAUNCH_MY_PROGRAM_PLEASE.
Action ended 16:38:55: IS_LAUNCH_MY_PROGRAM_PLEASE. Return value 0.
Action 16:38:55: DLLWrapCleanup.
Action start 16:38:55: DLLWrapCleanup.
Action ended 16:38:55: DLLWrapCleanup. Return value 1.
Action ended 16:38:55: SetupCompleteSuccess. Return value 2.
Action ended 16:38:55: INSTALL. Return value 1.
=== Logging stopped: 20/11/2008 16:38:55 ===
MSI (c) (24:F0) [16:38:55:204]: Product:PRODUCT_NAME_4.0 -- Configuration completed successfully.

i'm scared for the validation .... but i gonna try it now ...

PS: MigrateFeatureStates. Return value 0. ?? is correct ?? , i'm reading the help online of IS ,.... and i'm not sure

thanks

Editting..

Checking the MSI validation Suite (IS12) the only problem that i can see is several dll are duplicated in two diferent components.
(becaue are used/linked with 2 executables components. i opt this way thinking in future projects, maybe i am wrong.... surely)

the error message is:

ISDEV : error ICE30: The target file 'tec.dll' is installed in '[ProgramFilesFolder]\aaaa\bbbb\' by two different components on an LFN system: 'processor' and 'TEC'. This breaks component reference counting.

and the same for 10 or 11 files more...
This happends only with one component (processor) of my project, but more than one of the anothers components is 100% correctly.


I hope my poor english was understood.

menos16
11-21-2008, 06:25 AM
Finally i have solved my trouble...

I had not strictly followed the guideline update.

I was changing three components which were not linked with any file... these components only manage my services (start & stop) and I had clustered in only one.... I knew that but didn't expect such behavior; i was considerating as a separate component because it wasn't installing files. i'm big noob....

PS i had discovered an esay (& usefull) tool that unknown: "upgrade validation wizard".

Thanks for your HELP,