onetwothree wrote:cartrite wrote:What the hell do you think I've been doing for the last 10 years or so. 99% of the people I knew back then are not here anymore. And in the last few weeks I've managed to build your code and create an installer. Yesterday morning for Christ's sake I uploaded one. I guess you don't see me doing this any more. You were the one who said monthly. That statement above was an insult. So be it. Someone else can build your installer now. Good luck.
Cartrite, I appreciate your work, but please refer to the context of this topic. It was about 1.6.2 overwriting 1.6.1 installation. This is known problem with our celestia.iss file. It was not about
your work with 1.7.
I may be able to fix that. I can see 2 ways I can try. Downloading and installing 1.6.2 and redoing the celestia.iss file or downloading the sourcex, building it and then create a new file from what was built. When I run inno, I make sure all the files are present in the celestia root folder and the just add the folder to the wizard. The later may be tricky because I probably don't the dependencies installed on my system for 1.6.2.
Added after 5 hours 1 minute:I was able to install this in 2 locations. D:\test\Celestia and D:\1.6.2.2.
Here is the installer that did this.
Hope this is what you wanted.
onetwothree, I'm sorry I misunderstood your comment. I'm sorry I missed the point of this thread. I guess I didn't read it through.
Anyhow, I downloaded the installer and installed it. At first, I was able to install it where I wanted. That option was taken away the second time I tried. I seen this behavior before but I can't remember when. Then I downloaded the source code. I used the celestia.iss file to copy and past the tasks section and every thing below the registry section into the celestia.iss that the inno wizard created on my system.
I notice the original script was created with inno version 5.1.5. I am using version 6.2.0. That may be the reason it worked on my system.
My bad. It worked once. I was able to install 1.6.2.2 in 2 different locations but then I realized I used 2 different installers. The original and then the one I created. I tried it again after I uploaded it and it didn't give me the option to install it where I wanted, So back to the drawing boards. Maybe on Sunday. I'm off from work for a few days starting Sunday.
This may be a bug with the Inno wizard.
Added after 55 minutes 58 seconds:This is the way that the inno program seems to work. Once I install the 1.7 version it won't give the option to change location the second time. So it will overwrite the first. Come to think of it, this the way it always worked. I always uninstalled the version. A work around I can think of is install Celestia 1.6.2.2 to a location, then copy it to a new location. Use that as your test folder
Added after 59 minutes 40 seconds:A better way would be to just rename your original to a new name. By default, the first time you install the program, the root folder is called Celestia. Rename it. Then the next time you install it won't overwrite the renamed one. But it will be in the same folder. Example. C:\Program Files\Celestia to Celestia-newname. The next time you install it you'll have 2 Files. C:\Program Files\Celestia and C:\Program Files\Celestia-newname, If you uninstall it the only one that will be uninstalled is the one named Celestia. If you have Celestia 1.6.1 installed and then you want to install 1.6.2.2, you have to rename the Celestia folder in Program Files to Celestia-1.6.1 for example. Then you install 1.6.2.2. Now it won't overwrite it. A new Celestia folder will be in Program Files called Celestia.
So there is nothing wrong with 1.6.2.2 installer. It is the way it works. Inno will only install the folder it is named on the first time you use and into the directory you installed it in. Once installed, it doesn't give you the option to change the location until the original is uninstalled. Then you have the option to rename the folder and the directory it is installed in. But then your stuck with that. You could just copy the original to a new directory.