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!

vcloudau
Posts: 2
Joined: Sun Aug 07, 2016 10:34 am

MSP Patching ...

Hi Everyone,

I'm a newbie to Advanced Installer, just trying to get my head around how it works.

I've created an installer using the trial and it does everything i need it to do. So not sure if this is a restriction of the trial version.

I have followed the video online to create the MSP patch file, but unsure what i am doing wrong.

Firstly the original installer is removing the installer from the systems temp folder after the install, not sure why but the MSP file is looking for the original installer in the designated path when it goes to update and run the MSP file.

Secondly, all i am really updating is a executable file (application executable), my dilemma is, can you use the actually build number that increments IE: 1.0.1.x (where the x is). I have to use the release section of the build number which means i need to manually set this in my development tool. All i want the patch file to do is update the installed executable and the version number in the control panel.

Thank you for your help in advance.

Trevor.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: MSP Patching ...

Hi Trevor and welcome to Advanced Installer forums.

Thank you for your interest in Advanced Installer.
Firstly the original installer is removing the installer from the systems temp folder after the install, not sure why but the MSP file is looking for the original installer in the designated path when it goes to update and run the MSP file.
In order to keep the installer on the machine so the patch can use it you can go in the "Builds" page and check the "Do not delete extracted MSI and CAB files" option.
Secondly, all i am really updating is a executable file (application executable), my dilemma is, can you use the actually build number that increments IE: 1.0.1.x (where the x is). I have to use the release section of the build number which means i need to manually set this in my development tool. All i want the patch file to do is update the installed executable and the version number in the control panel.
I'm afraid that I do not fully understand this scenario. Can you please give me more details (maybe exemplify)? If you want an executable's version as the version of your package you can go in the "Product Details" page, right-click in the "Product Version" field and use the "Set version from file..." option.

Let us know if this helped, otherwise give us more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
vcloudau
Posts: 2
Joined: Sun Aug 07, 2016 10:34 am

Re: MSP Patching ...

Hi Eusebiu,

Sorry for not getting back to you sooner, i need to rebuild my development environment with the latest tools.

I fixed the first problem with the "Do not deleted extracted MSI and CAB files" thank you for that.

In regards to my second question, i want to be able to control the executable update process, i have already coded the update function in my application. All i really want to do is create an installer with just the updated exe file and install it in the same path as where the original installer installed the exe file, ie: c:\program files\vcloudau\app\bin\name.exe.

I havent done app packaging in a long time, but from what i have been reading i would have thought a msp file is the way to go but i cant seem to get the update working. I tried creating another installer, but when i go to apply the update the second or third time, etc, it says there is another version already installed.

The other thingi notice, in radstudio i use build versions just to keep track of builds, we use Major, Minor, Release, Build (ie: 1.0.2.101). Is there a way to use the build number for the different version instead of the release, or do i have my wires crossed.

Thank you in advance.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: MSP Patching ...

Hi,

I'm glad the first problem was solved.

Regarding the second one, indeed, it is recommended to crate a patch (MSP package) if you want to update only few files of your product. In order to achieve this, please follow the steps from the "Patch Authoring" tutorial.

I'm afraid that Windows Installer ignores the fourth field (build number) of the Product Version, so it is recommended to change one of the first three fields when you create a new version of your product.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”