Errors in Building Scrip

Started by Randem, December 18, 2009, 03:34:30 AM

Previous topic - Next topic

Randem

None of that would have any effect on what I mentioned... Just change in the script the AppId=Project1 parameter to AppId=ProjectA then recompile the script and run the installation, you will see what I mean.

pepsisc

Project Name is still Incorrect. This is what I just did:
- Deleted PDW director
- Using Control Panel/Add-Remove Programs, I Removed previous version.
- In VB, under Project Properties/Project Name, I re-typed ssKeyChain
- In VB, Save Project
- In VB, compiled Project (Make Project)
- Re-ran PDW
- Re-ran InnoScript
Any other suggestions? It's after 3 AM. I'm going to bed. I'll see your reply in the morning.
 
Thanks,,
Sam

Randem

The script is correct. What you have to do is to uninstall ALL previous installations of this software. The install is picking up the last location you installed it. If there is no previous installation it will default to the location in the script. Either that or change the AppID parameter to another name. Inno Setup uses the AppID to locate other installations with the same name...

pepsisc

Hold on: I sent you the wrong files. Here are the correct ones.

pepsisc

randem:
 
I'm sorry but I need your help again. I am confused. I am having trouble using Parameters.
Problem-1: In the DefaultDirName I have: {pf}\ssKeychain  
when I Build (via InnoSetup) and Run, the project wants to go into my source directory: D:\Data\Scrollsaw\Install\Output\keychain   I want it to go into Program Files
 
Problem-2: The name of my Project is ssKeyChain. Again when I run the Install, it says Project Name is: Project1 1.0.11  I want it to say ssKeyChain.
 
Can you tell me what I am setting wrong?
 
Thanks,
Sam

Randem

Thanks, You have a happy holidays also. We will not be getting snow here... I did just get back from the east coast though... Glad I missed it.

pepsisc

One other thought:
 
You and your friends and family have a Merry Christmas and Happy New Year.
 
We here in SouthEast Pennsylvania are suppose to get up to 14 inches of snow starting this morning. Enjoy your weather.

Randem

Not a problem. Glad you have the issue resolved.

pepsisc

I've been a Register user since October of 2008. I don't use InnoScript often. In fact this is the second time.
 
In earlier versions, I do NOT remember running PDW prior to InnoScript.
 
I ran it, recreated the Package directory. InnoScript worked.  
 
Thanks for all your help and patience.

Randem

Check out the section on missing files in the InnoScript help documentation for an explanation on what I am referring to about being a bad idea...

Randem

Well, that is why the file was not found in the later runs. You must have deleted it. The folder was created by PDW.

pepsisc

That's STRANGE. I do NOT have a PACKAGE directory!!!
see attached
 
By the way, I changed the name from KeyChain to SSKeyChain

pepsisc

That's Strange--I don't have that . Attached is a picture of that Directory--no PACKAGE

Randem

That's a very bad idea. It MAY work but it's still a bad idea. Why didn't you just add the folder???
 
The folder in the post was
 
D:\Data\ScrollSaw\KC-P10-Work\Package\Support\
 
Where the file was found in the first place...

pepsisc

I ran the script in Unsafe Mode and it worked.