Page 1 of 1

Install aware creating a new {product code} folder

Posted: Tue Oct 12, 2010 2:12 am
by dahkiam
Hi,

I took over an install aware project, and i've been having quite a bit of trouble understanding why install aware create a new {product code} folder everytime there is an update or new installation of my application.

The annoying thing is installaware does not actually cleanup for each update. So if your application releases 10 updates, you willl have 10 {product code} folder, each unique.

Is there a simple way to resolve this issue?

Re: Install aware creating a new {product code} folder

Posted: Thu Oct 14, 2010 3:34 pm
by mills
By update, do you mean web update or patch?

What type of build do you use? Web builds?

Are you seeing the {product code} folder in the Application Data folder?

And does that {GUID} folder actually match the product code for your project(s) or some other {GUID} like the revision code?

Re: Install aware creating a new {product code} folder

Posted: Fri Oct 15, 2010 4:12 am
by dahkiam
Sorry for the late reply.

1. Yes we use web update.
2. Build settings is set to "compressed single self-installing EXE"
3. Yes in the APPDATA folder
4. on first install it's "~0"

Thanks for the support.

Re: Install aware creating a new {product code} folder

Posted: Fri Oct 15, 2010 3:48 pm
by mills
Our developers indicated that those folders are a part of the natural msi API behavior and those folders should not appear after a reboot.

Re: Install aware creating a new {product code} folder

Posted: Mon Oct 18, 2010 1:57 am
by dahkiam
Well, i can confirm that they are not disappearing.

Would there be any reason for it not to disappear?

Re: Install aware creating a new {product code} folder

Posted: Mon Oct 18, 2010 3:42 pm
by mills
Can you post a screenshot? I just want to be sure what the folders are being named...

Re: Install aware creating a new {product code} folder

Posted: Thu Oct 21, 2010 3:02 am
by dahkiam
Here you go. Just ran an install on my machine... Restarted... and blue folder still there.

Re: Install aware creating a new {product code} folder

Posted: Mon Oct 25, 2010 8:19 pm
by mills
Are you using Web Deploy (build type)? This is not related to web updates.

The web builds are set to cache the setup data (this is particularly helpful if you plan on issuing patches).

You can check under the Build Settings under the Deployment folder of the design view.

There's also a check box for "Always cache setup sources". What is that set to (check, square or blank)?

Re: Install aware creating a new {product code} folder

Posted: Tue Oct 26, 2010 2:00 am
by dahkiam
Ok here are the settings...

Re: Install aware creating a new {product code} folder

Posted: Thu Oct 28, 2010 6:34 pm
by mills
That's why it's creating the folder. It's caching the setup, so the user won't be prompted for sources during patches or maintenance (uninstall).

Re: Install aware creating a new {product code} folder

Posted: Mon Nov 01, 2010 1:38 am
by dahkiam
Ok let me re-formulate my concern.

Why is it that it's only my software doing it and not other software on my machine. Example I can't see adobe doing it.

Can't i specify where the cache should be? It's really dirty where it is right now.

Re: Install aware creating a new {product code} folder

Posted: Mon Nov 01, 2010 10:55 pm
by mills
Actually, they do. For instance, I installed Adobe Shockwave.

It creates a registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Shockwave Player\UninstallString
=
"C:\WINDOWS\system32\Adobe\Shockwave 11\uninstaller.exe"

...

You can search the registry for the path IA is creating to its installer.

So, if that's not where you want it, after Apply Install, you may be able to move that folder to somewhere you think it should be and update the registry accordingly. However, this is untested and we cannot guarantee it will work.