Archive: Build won't install after download from web


Build won't install after download from web
Hello all,

I am running into a weird problem:

We have an "auto-update" process for our application. If there is a new build (B) available, we will trigger a process to download the new build into a temp location in APPDATA, once it completes download, we will pop up a prompt asking user if s/he wants to install new build. If user selects "Yes", we will launch the new build installer:

- Two instances of installer are seen under Task Manager (we are using UAC plugin, so 1 for user mode, and one for admin mode)
- The Windows UAC prompt is displayed, click "Yes" to continue

The process seems to hang here... nothing happen after the Windows UAC prompt, we still seeing two instances of installer under Task Manager, but the installer won't continue.

Yet, if we go to download location, double click the new build, installer will run properly and complete its process.

Any idea?


What is the path of this temp dir?
Have you tried setting the working dir with SetOutPath before executing?


Thanks Anders for responding.

the path to the temp dir I mentioned above: C:\Users\<Username>\AppData\Roaming\<Company>\<Product>\temp

Yes, I have the SetOutPath at the beginning of Install section:
SetOutPath $TEMP


Try SetOutPath "$appdata\<Company>\<Product>\temp"

Also, is this Vista or 7?
UAC plugin version?


Let me make sure I understand you correctly:

So, our application download the new build and put it at: C:\Users\<Username>\AppData\Roaming\<Company>\<Product>\temp. Then it calls the exe file, that is when installer takes over.

You want me to have the installer SetOutPath to "$appdata\<Company>\<Product>\temp" instead of $TEMP?

It happens on both Vista and Windows 7.

I don't see the version for UAC plugin.

thanks!


I just want you to set it to the place where you downloaded the installer