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!

edgsoccer
Posts: 32
Joined: Wed Jul 02, 2014 11:07 pm

Update fails

I am creating an update that uninstalls the old version and installs the new version.. but after it removes the program when its Publishing product information it crashes. Gives the following error " There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor." If I run it again it installs correctly because the old program is uninstalled already. help please
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Update fails

Hello,

I'm not sure why you encountered the this behavior.
In order to have a better view about this, can you please send us the .AIP (project file) and a verbose log of the installation process to support at advancedinstaller dot com so we can investigate it? If it contains confidential information you can send us a small test project which reproduce this behavior.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
edgsoccer
Posts: 32
Joined: Wed Jul 02, 2014 11:07 pm

Re: Update fails

Hello,

I sent you guys the verbose logs that you requested. I have a questions when creating a new update.
1. Do I just change the version number and select upgrade?
2. can i do an update without uninstalling the old one and just replacing, adding and deleting some files(i don't want a side by side either)?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Update fails

Hello,
1. Do I just change the version number and select upgrade?
Advanced Installer supports two ways of updating an already installed application:
  • -Upgrades
    -Patches
Upgrades:
A major upgrade is essentially the removal of an older product which is replaced by a newer product. In Advanced Installer the upgrades can be configured from the Upgrades View.

Patches:
A patch contains only the differences between two version of the product. That means that through a patch you can update something which is already installed.
2. can i do an update without uninstalling the old one and just replacing, adding and deleting some files(i don't want a side by side either)?
As far as I can see creating a patch should be the right solution for you, since you don't want to uninstall the previous version.
You can take a look on our Patch Authoring tutorial which will guide you step by step into the creation of a simple Windows Installer patch project from scratch and building it in order to obtain a MSP package. Also, when creating patches you should make sure they don't break the patch rules.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
edgsoccer
Posts: 32
Joined: Wed Jul 02, 2014 11:07 pm

Re: Update fails

When trying to create a patch, when i click build I get a window "Select the utility used for creating the patch..." and its looking for a MsiMsp.exe When i don't select anything I get an error saying "error. You do not have ParchWiz.DLL. PLease install Plataform SDK."

Note: update still fails.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Update fails

Hello,

To create Windows Installer patches, Advanced Installer use the MsiMsp.exe tool - along with "Patchwiz.dll" which are distributed with the Windows SDK platform.

Please take a look on the Windows SDK tools required for creating MSI packages article which may be useful to you.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
edgsoccer
Posts: 32
Joined: Wed Jul 02, 2014 11:07 pm

Re: Update fails

I was able to create a patch. It give me a .msp file

then when i try running it, I notice that many of the blackSurface theme changes. Then it wouldn't install or do anything when I click on the install button.

same thing happens when I build my installer as an msi instead of an .exe
Attachments
msp1
msp1
msp1.JPG (19.24 KiB) Viewed 7326 times
msp
msp
msp.JPG (20.26 KiB) Viewed 7326 times
msi
msi
msi.JPG (26.55 KiB) Viewed 7326 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Update fails

Hello,

Please take a look on our Patch installer does not skin correctly... forum thread which debates this subject.

Let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
edgsoccer
Posts: 32
Joined: Wed Jul 02, 2014 11:07 pm

Re: Update fails

Hello,

I tried running the patch with exe and /qb but it starts then it never installs.. no error at the end it just closes. and if i try to create the log out of it, it starts with the black theme and I cannot click on the install button. :?:
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Update fails

Hello,

If you want to install your patch using basic User Interface, then you can go in the Patch Media Bootstrapper Tab from the Media page when creating the patch and enable the Use EXE.
Then, add in the Command Line field the following command line switch:

Code: Select all

REINSTALL=ALL REINSTALLMODE=ecmus /qb
This way the patch will be installed using Basic UI.

Please let me know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
edgsoccer
Posts: 32
Joined: Wed Jul 02, 2014 11:07 pm

Re: Update fails

It's still not working for me. upgrade or patch. :?

Return to “Building Installers”