Web Update delete files

Got a problem you cannot solve? Try here.
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Web Update delete files

Postby FrancescoT » Thu Feb 14, 2013 10:45 am

Happy you solved :D !
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

UltraTM
Posts: 13
Joined: Tue Feb 12, 2013 9:17 am

Re: Web Update delete files

Postby UltraTM » Fri Feb 15, 2013 6:16 am

Ok

i tried. now im on not working again. Sorry


i want to delete 2 files in the Forlder mods

something.jar
something2.zip

So this is my way that i called it in the local files section:

$TARGETDIR$\mods\something.jar delete when installing
$TARGETDIR$\mods\something2.zip delete when installing

dont work for me.


in $TARGETDIR$ is set in Files Target Files *.* nad Sourcepath C:/MyProduct/



Target Folder in Product Information is set to $MYAPPDATA$\MyNameILiked (not §Title§)

Also my installation from Version 1.0.0.0 is web package loaded.
my Updates also based on web package and downloaded from Internet with Check for Updates.

where is the last bug?
Or did i missing a setting when im click biuld patch?

Thank you very much Francesco

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

Re: Web Update delete files

Postby FrancescoT » Fri Feb 15, 2013 10:26 am

Dear René,

Honesltly, it is not very clear to me what you are doing.

First of all, if you have a look at the project I posted you, the file deletion command I added is within a " [compiler if Variable BUILDMODE Equals PATCH]" this means that " Delete Files $TARGETDIR$\test.txt (when installing)" is executed if the package running has been built as PATCH BUILD ONLY.

This because it is not necessary to delete that file if the package runs as a full update.
Due the fact that with a full update, any previous package version found installed on target system, it will be FIRST removed prior to proceed with the effective update package installation.

In other words if you are not executing a patch it not necessary to remove those file, because them should be already gone away with the previous package uninstall.

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

UltraTM
Posts: 13
Joined: Tue Feb 12, 2013 9:17 am

Re: Web Update delete files

Postby UltraTM » Tue Feb 19, 2013 10:47 am

Ok now got it. Checked it.
But Version Number isnt updateable with patch i see.

Mhm.

Full Patch is for a 5GB Programm to much.


Comes the Feature with VersionNumber Update in Programs and Functions?


would be nice.

Thank you very much Francesco

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

Re: Web Update delete files

Postby FrancescoT » Tue Feb 19, 2013 12:13 pm

Dear René,

Unfortunately, it is a MSI patch limitation ... and can't be addressed by IA.

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: No registered users and 103 guests