Another Problem Regarding the Patch - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Elegiac
Posts: 40
Joined: Thu Jan 17, 2013 4:43 am

Another Problem Regarding the Patch

Hello,

ive successfully made a patch like what written in here: http://www.advancedinstaller.com/forums ... =2&t=23262
(Visual Studio Project)

However, the time i install the patch application (.msi) the installed target file wasnt changed at all .
i already change the version of Upgraded to 1.0.1 but still the same thing happens .

i also try to change the product code (same code for Target and Upgraded) but still the same thing happened .

Further Explanation heres the senario:

the time I installed the [Target] .msi (version 1.0.0)
Image

then it suppose to change like this when patched [Upgraded] .msi (version 1.0.1) ___Major Update and Patch already try
Image

but the time i installed patch, it installed but still it dont update, its still:
Image

heres the installers:

Image
http://www.sendspace.com/file/q6cndz (Advanced v1.0.1)
http://www.sendspace.com/file/m7p783 (Target v1.0.0)
the time i install the Patch (after the v1.0.0 installed) instead of the 1.0.0 become 1.0.1 version its still 1.0.0 ...and no change at all .
hope you could help me again . thanks in advance again sir .

Sincerely,
- Elegiac
Elegiac
Posts: 40
Joined: Thu Jan 17, 2013 4:43 am

Re: Another Problem Regarding the Patch

bumpzZz ...
Elegiac
Posts: 40
Joined: Thu Jan 17, 2013 4:43 am

Re: Another Problem Regarding the Patch

anyone??? ...
Elegiac
Posts: 40
Joined: Thu Jan 17, 2013 4:43 am

Re: Another Problem Regarding the Patch

bumpzzz sirs really nid a help no change of target file coming from upgraded >.< ...
Elegiac
Posts: 40
Joined: Thu Jan 17, 2013 4:43 am

Re: Another Problem Regarding the Patch

bumpzzz ... :/
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Another Problem Regarding the Patch

Hello Elegiac,

Can you please follow our "Authoring a Windows Installer patch" article in order to achieve what you want? Also, I've observed that your target and upgraded MSI files have different product codes and upgrade codes, which breaks the patch rules. So, can you please make sure that the patch respects the Patch Rules?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Elegiac
Posts: 40
Joined: Thu Jan 17, 2013 4:43 am

Re: Another Problem Regarding the Patch

Daniel.Radu wrote:Hello Elegiac,

Can you please follow our "Authoring a Windows Installer patch" article in order to achieve what you want? Also, I've observed that your target and upgraded MSI files have different product codes and upgrade codes, which breaks the patch rules. So, can you please make sure that the patch respects the Patch Rules?

All the best,
Daniel
Hello sir,

i already did it and respect all patch rules ...
with same name, version of upgraded must be higher to target and same prod. code but nothing happens .

i even try to do "major upgrade" in changing the version of Patch also the "Patch" only but still the same thing happens

heres the ss of 2 .apiS:
upgraded = patch
target = maininstaller

Image

Image

hope you could help me .thanks in advance...
Elegiac
Posts: 40
Joined: Thu Jan 17, 2013 4:43 am

Re: Another Problem Regarding the Patch

same thing happens in Visual Studio and on Client/Server Application ...
Elegiac
Posts: 40
Joined: Thu Jan 17, 2013 4:43 am

Re: Another Problem Regarding the Patch

or anyone can give me a sample successful patch?

(maininstaller and patch) its not working >.<
Elegiac
Posts: 40
Joined: Thu Jan 17, 2013 4:43 am

Re: Another Problem Regarding the Patch

everytime i use patch .the version was changing but the installed files was not updating ...

like for example:

for the maininstaller (target) ---installer.msi :
i have 1notepad entitled Main.txt with text "123" on it .

then for the patch (upgraded) ---installer.msi >samename:
samenotepad but text was "1234" .

(note: the notepad was changed [123 to 1234 text] after the 1st installer was installed but still the same notepad)

then i install supposedly the maininstaller 1st, so its @ c:/ProgramFiles/CompanyName/Installer/Main.txt -> text was only 123 and on the control panel version was 1.0.0

but when i do the patch (.msp file), the text on the notepad was suppose to change into 1234, but what happens was the version only increases 1.0.1 but the notepad dont ...and its text remains to 123 only ...

im very sure i follow all rules, same prodname, same prodcode, same location, almost same all, i also try same upgraded code but still same incident happens ...
and i did sure to build and save the upgraded files before it got imported in the Patch.api, also try the Major Upgrade and the Patch and make sure that the Prod.code of 2 .msi files was the same always . but still nothing happens ...

what should i do?

(note im using client-server application for now)
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Another Problem Regarding the Patch

Hello,

I've tested your scenario, but I cannot reproduce the behavior. Can you send us the .AIPs (project files) of your target, upgraded and patch project to support at advancedinstaller dot com so we can investigate them? Also, can you please send us a verbose log of the patch installation (you can use a command line like msiexec.exe /p "Path to your Patch.msp" /L*V "Path to Log.txt")?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Elegiac
Posts: 40
Joined: Thu Jan 17, 2013 4:43 am

Re: Another Problem Regarding the Patch

really sorry for i cant mail info in email due to company rules but heres the .api S that your requesting sir ...

http://www.sendspace.com/file/g7dwbu - target (.api)
http://www.sendspace.com/file/1jqmyj - target (.msi fixed)

http://www.sendspace.com/file/ih9zqi - upgraded (.api)
http://www.sendspace.com/file/kgb53m - upgraded (.msi fixed)

http://www.sendspace.com/file/d7cm09 - patch (.api)
http://www.sendspace.com/file/4a44xi - patch (.msp)

( visual studio application like what it shown it 1st post -> currently working on it now but still the same thing happens only the version increases but the files dont update :/ )
Daniel.Radu wrote: Also, can you please send us a verbose log of the patch installation (you can use a command line like msiexec.exe /p "Path to your Patch.msp" /L*V "Path to Log.txt")?
also for this sorry sir i dont understand a lot about verbose log .but i understand the Path/location of Patch .

hope you could help me .

/thanks sir ...

Sincerely,
- Elegiac
Last edited by Elegiac on Wed Jan 30, 2013 10:29 am, edited 1 time in total.
Elegiac
Posts: 40
Joined: Thu Jan 17, 2013 4:43 am

Re: Another Problem Regarding the Patch

or pls check / create simple patch ... i think its kinda bug even if i follow all rules still no change :/ ...

if its not could you give me a sample installer and patch??? thanks in advance!
Elegiac
Posts: 40
Joined: Thu Jan 17, 2013 4:43 am

Re: Another Problem Regarding the Patch

pls sir need help so badly : ( this would save my job . thanks ...
Elegiac
Posts: 40
Joined: Thu Jan 17, 2013 4:43 am

Re: Another Problem Regarding the Patch

bumpZzZzZz ......

Return to “Common Problems”