- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Installer does not update existing files
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Installer does not update existing files
How to solve the issue ?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
new component not been created, and files were not updated.
for some reason the log file of IS only updated in the clean installation and not in the upgrdae.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
msiexec /i product.msi /L*v everything.log
The InstallShield Tools menu has a command-line builder and a log analyzer that might help.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
setup /V"/L*v C:\everything.log"
A similar option is to use the MSI Command Line Arguments setting for setup.exe in the Releases view.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hope this helps...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Q106247: INFO: Patch Creation Tips for Dynamically Linked Project Files
If these guidelines are not followed when attempting to create minor upgrades, the upgrade will most likely not work since the way dynamic file links are currently implemented will cause Windows Installer minor upgrade component rules to be broken.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
I simply want it to copy any file that has a newer time-stamp, no matter what component its in, or whether its static or dynamically linked.
It seems upgrading dynamically linked files is a big problem for a lot of people, myself included. Would it be a big deal to have an option to compare file timestamps to decide if it should be overwritten and not have to rely on a key file?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
i tried to set a dinamic componenet per folder,and have one static key file in this component.
and still in minor upgrade files are not replaced...
how can i fix this???
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
i have the same component as a static componenet for the Service registration,
and in a dynamic files components,which there i have set another
file as a key file.
i have tried to also change the package code,
files are never replaced in the minor upgrade mode,
not replaces also in modifay mode,
only in repair mode.
what can i do???
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
If you are performing a major upgrade, be sure you have changed both Package and Product GUIDs and also bump the version. Be sure to have a major upgrade item defined in the "Upgrades" section. For a minor upgrade, change the package code, update the verison, and define a minor upgrade item.
Is the file in question being updated from the last install? Remember that the only consideration in the update of versioned files in upgrades is language and version. If the version of the object in question is equal or lower, it will not be replaced.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
You can create a logfile by enabling the logging option in Group Policy.
For this you have to do Goto Start->run-> type gpedit.msc. This will take you to group policy window. There Under local Computer policy -> Adminitrative Templates-> Window Components ->
Windows Installer -> Click on logging. This will open up a logging properties dialog. Check Enabled option and type 'voicewarmup' in the logging text box and then click apply and ok. This will create log file during installation. It creates logfile under temp folder. For example C:\Documents and Settings\ur name\ temp\ msi#####.log ( this should be the recent one.). You can go to this temp folder directly by typing %temp% in the windows explorer.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
i made a dynamic link component that look's like this:
Client:
setup.exe
Afcon.Pcim.WorkStation.application
Afcon.Pcim.WorkStation_8_0_1_5555.application
....
Client\netfx30:
Dotnetfx3.exe
Dotnetfx3_x64.exe
Client\Afcon.Pcim.WorkStation_8_0_1_5555:
Afcon.Pcim.Client.AlarmViewer.exe.deploy
Afcon.Pcim.Client.AlarmViewer.exe.config.deploy
.....meny other files like this....
now i delete the folder client when in minor upgrade mode...
and all files and folders are recreated exept
the folder Client\Afcon.Pcim.WorkStation_8_0_1_5555....
i even tried to configure this folder as static with one key file
and i set the override system version to "9999.9999.9999.9999"
i uploded some images that describes my situation...
nothing is helping....
what can i do....please its urgent....
what can i do???
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
I am too facing the same issue. I did a major upgrade where I provided the path of old setup.exe as previous package in release wizard. I have checked the 'Always Overwrite' option, changed package code, changed version, tried almost everything but no luck. I can see the product version getting updated in the control panel installed program list. But my target folder is not getting updated with the new files. This is like an upgrade installed in an unknown directory. Please help me with this.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @firdousa : If you are trying to do major upgrade, you need to change product code and you need to create a major upgrade entry under upgrade view,
Please refer below KB link, which explains on how to create a major upgrade,
For Minor Upgrade:
If you want to do with only minor upgrade, then please try to install your setup.exe using command prompt with below parameters and verify it replaces all files or not. which will generate installation log files as well in temp. you can verify log on what causes the upgrade to fail.
<Path to setup.exe> /s /v"REINSTALL=ALL REINSTALLMODE=vamus /l*v "%temp%\Test_msi.log""
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)