Setup sources not found after installation from Web

Got a problem you cannot solve? Try here.
MikeFieger
Posts: 52
Joined: Thu Jan 26, 2006 9:09 am

Setup sources not found after installation from Web

Post by MikeFieger »

If I install our product using the 'Compressed Web-Based EXE' instead of the 'Uncompressed Directory Layout', I can not modify the installation (Start/Settings/Control Panel/Add or Remove Programs/OurProg/Change/Reinstall or Repair) because I always get the following dialog box:

"Please locate your original setup sources to continue operation"

No matter what folder I select, this dialog always comes again and again and again...

What folder does it want?
Gizm0
Posts: 339
Joined: Wed Nov 09, 2005 8:47 pm

Post by Gizm0 »

This happens because the original directory of your setup is missing.When you execute the setup file, it's first being uncompressed and it executes.
If you used a tool that clean your pc or sth like that, it could have possibly deleted that directory, which is need by the setup file.
Panagiotis Kefalidis
Software Design Team Lead
\"In order to succeed, your desire for success should be greater than your fear of failure\"
Install[b]Aware[/b] Software Corporation
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Hi Mike

For web builds, this is not an issue - setup sources are always locally cached, so a prompt is never shown.

For uncompressed builds - the customer simply pops in their CD, and selects that drive (or folder, if installing from hard disk).

For single file builds (the build you used), this is an issue. The user needs to start the self extractor, and point the setup to the temporary folder it has extracted files to.

So single file builds are not recommended for setups which offer a maintenance mode. You can try web builds (if you want everything to still be in a single file, you can put everything in one huge offline web media block).
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
wolbrink
Posts: 76
Joined: Wed Nov 17, 2004 3:00 pm

Post by wolbrink »

MikeFieger wrote:If I install our product using the 'Compressed Web-Based EXE' instead of the 'Uncompressed Directory Layout', I can not modify the installation
MichaelNesmith wrote:For web builds, this is not an issue - setup sources are always locally cached, so a prompt is never shown.
But Mike says he was using the "Compressed Web-based EXE" build mode.

--Troy
shomw
Posts: 17
Joined: Wed Jan 18, 2006 9:31 pm

Post by shomw »

I'm having the same issue suddenly.
earlier today it worked fine I have not deleted anything or any dirs on my test box. yet I can't uninstall.
I've got Compressed Single Self-installing EXE chosen.
when I used the compressed web-based EXE it gave me two files one My App.exe and microsoft windows installer 2.0.7zip how do I get this to be one file?
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

These issues are described thoroughly in the help files. Please review these topics under the help index:

Deployment
Build Settings
Patching (the Patch Source Resolution subsection)
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
shomw
Posts: 17
Joined: Wed Jan 18, 2006 9:31 pm

Post by shomw »

ok I read and understand those sections but I still need it to be one file.
how do I get the windows instller section to be part of the offline part?
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Simple - declare an offline web media block at the top of your script, and remove all other web media blocks.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
MikeFieger
Posts: 52
Joined: Thu Jan 26, 2006 9:09 am

Post by MikeFieger »

Hi!

I now declared an offline web media block at the top of the script, and removed all other web media blocks, but I still get two files: A Program.exe and a Block.7zip

Is it possible to get only one file? How?

Thank you!

Mike
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

You must still be having a web media block declaration left in your script.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
MikeFieger
Posts: 52
Joined: Thu Jan 26, 2006 9:09 am

Post by MikeFieger »

Hi!

Thanks for the prompt answer.

I´ve just searched through my script (with Ctrl-F) and there is only one occurence: The [Define Web Media Block] at the top of the script.
(Also in the Visual View there is only that one entry.)
This seems to create the 'Block.7zip'.

If I delete that statement, I cannot compile the project. I get the error message 'At least one Web Media Block must be defined before installation commands that may require media'

So it seems that every [Define Web Media ...] creates one '.7zip' file additional to the 'Program.exe'.

This still leaves the Question: Is it possible to get only one file? How?
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Hi Mike!

Perhaps you have defined blocks in your include scripts? Web media blocks are not created arbitrarily - unless they have been defined first.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
MikeFieger
Posts: 52
Joined: Thu Jan 26, 2006 9:09 am

Post by MikeFieger »

Well, I have the one '[Define Web Media ...]' at top of my script (and no include scripts as far as i know).

This one statement creates the '.7zip'-file, correct?

A '.7zip'-file is just an archive and cannot be executed, i guess.
So that is why there is a 'Program.exe' also created. This is the real setup-file and it gets the files from the '.7zip' file (The web media block).

Am I right so far?

If yes, then I am still asking myself: How can I get a single file with all the data in it that our customers can use to install our product?

Thanks,

Mike
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Mike, did you enter a name for your web media block in the directive on top?
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
MikeFieger
Posts: 52
Joined: Thu Jan 26, 2006 9:09 am

Post by MikeFieger »

Thank you!

Removing the name for the Web Media Block solved my problem! :)
Post Reply