Page 1 of 2
Setup sources not found after installation from Web
Posted: Wed Feb 08, 2006 5:48 am
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?
Posted: Wed Feb 08, 2006 7:44 am
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.
Posted: Wed Feb 08, 2006 9:05 am
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).
Posted: Wed Feb 08, 2006 2:10 pm
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
Posted: Wed Feb 08, 2006 4:23 pm
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?
Posted: Wed Feb 08, 2006 4:40 pm
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)
Posted: Wed Feb 08, 2006 5:26 pm
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?
Posted: Wed Feb 08, 2006 6:15 pm
by MichaelNesmith
Simple - declare an offline web media block at the top of your script, and remove all other web media blocks.
Posted: Mon Feb 13, 2006 6:20 am
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
Posted: Mon Feb 13, 2006 7:15 am
by MichaelNesmith
You must still be having a web media block declaration left in your script.
Posted: Mon Feb 13, 2006 7:54 am
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?
Posted: Mon Feb 13, 2006 8:40 am
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.
Posted: Mon Feb 13, 2006 8:55 am
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
Posted: Mon Feb 13, 2006 9:19 am
by MichaelNesmith
Mike, did you enter a name for your web media block in the directive on top?
Posted: Mon Feb 13, 2006 10:40 am
by MikeFieger
Thank you!
Removing the name for the Web Media Block solved my problem!
