Unable to Create Patch

Got a problem you cannot solve? Try here.
klmcfad
Posts: 3
Joined: Wed Dec 11, 2013 5:57 pm

Unable to Create Patch

Postby klmcfad » Wed Mar 09, 2016 7:48 pm

I have distributed single file setups using Install Aware X2.
I need to send out some patches that will replace a few file in the users Program Files (X86)\MySoftware folder.
I downloaded and tried out the tutorial, "Using InstallAware 7 to Patch Software Products"

I have two problems
1) When I tried to run the patch to change out the data file (after running the first setup created), I got an error message as follows:
MySample installation failed: "". Please check your settings and try again.

In my project, I checked Always Cache Setup Sources (not highlighted but checked)
I created the setup with the Web Deploy button as per instructions.

Could this be a security setting on my computer that is preventing this from running? The installation works for both my version 1 and version 2. I'm not sure what to do next.

2) Even if this runs, it doesn't solve my original problem of creating a patch because I created single file setups without
the cache setup sources checked. What would be your recommendation to solve this problem?
Would the users MSI file need to be edited? I've tried the obvious, that is having files copied directly into the Program Files (X86) folder.
Somehow, the OS intercepted, and one of my older database files was used. This was carefully tracked with my own custom software, so I know
this happened, and can only imagine that the installer technology or the OS has a memory and a copy of the old file.

Thank you, K.

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Unable to Create Patch

Postby FrancescoT » Thu Mar 10, 2016 2:10 pm

Dear klmcfad,

unfortunately for what concerns your first setup without the cache setup sources checked, there isn't so much to do.
You must deploy a new full setup package that includes "the cache setup sources" setting and then you can start a totally new patch sequence.

I suggest you to have a look at following topics, where are available useful information on how to avoid common errors with patch creation.

It's also available a Full Functional and ready to use sample with the second link below.

- viewtopic.php?f=2&t=9656&hilit=+patch
- viewtopic.php?f=2&t=8697

Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: Google [Bot] and 126 guests