OS = Windows XP Pro SP3
Application written in VB6 Enterprise Edition
My SETUP parameters are:
Package and Deployment Wizard:
D:DataScrollSawKC-P10-WorkKeyChain.vbp
Auto OS Updater:
WinXP
Win Version:
Note: I tried all of them
NT Version:
NONE
I CREATE SCRIPT:
I get the following error message:Package & Deployment Wizard setup.1st filename is not valid
I can assure you that my address is coorect (see above)
Result of Create Script:
Files not Found = 3 (The 1st 3 files listed below)
[Files]
Source: VB_DCOM_MDAC_JET_AutoSetup_NT.exe; DestDir: {tmp}; Flags: deleteafterinstall ignoreversion nocompression; Tasks: AutoOSUpdater
Source: scr56en.exe; DestDir: {tmp}; Flags: deleteafterinstall ignoreversion nocompression; MinVersion: 4.1,4.0; OnlyBelowVersion: 0,4.01; Tasks: ScriptingRuntime
Source: VB_DCOM_MDAC_JET_AutoSetup_XP.exe; DestDir: {tmp}; Flags: deleteafterinstall ignoreversion nocompression; Tasks: AutoOSUpdater
Source: D:DataScrollSawKC-P10-WorkInstallManifest.exe.manifest; DestDir:{app}; Flags: ignoreversion
NOTE: IT SAYS__AUTOSETUP NT. I am not running NT. I am using Windows XP Pro SP3.
Please help.
Thank you,
Sam
}}
Aloha pepsisc,
I canot tell you anything from viewing a portion of the script. I would need to see all of the script (that is why all the information is at the top of the script). I also need to see your .pjt file so I can see the options you have chosen. I also cannot tell what version of InnoScript you are using.
I really can't make head or tails of what you are attempting to accomplish. if you are selecting PDW .lst but then I see the vbp mentioned. Those two selections cannot be chosen together. I need more information and clarification.
Randem: Attached are the .iss and .pjt files. I am using version 10.2 Build 3.
I do not know what PDW.lst is? I am trying to create an install package for a VB6 application.
Another question not dealing with the above problem. Dose InnoScript have the ability to create an agreement page for installation purposes?
Here's a question that deals with the application I am doing. There are several fonts: that need to be installed during the Installation. Can that be handled and, if so, how is it done via Innoscript.
Thanks,
Sam
pjt file for Keychain.vbp
KeyChain.pjt (https://randemsystems.support/index.php?topic=1.0) (2.5 k)
If by Agreement you mean License Page then Yes. You can also have a file that shows before installation and one that shows after the installation is done. You can display whatever you want from a text or better yet an Rich Text File (.rtf).
I will have a look at your files...
Quick look at the .iss file...
Package and Deployment Wizard Setup.lst File: D:DataScrollSawKC-P10-WorkKeyChain.vbp
The .vbp file is not a Setup.lst file... This is where your problem begins. Choose the VBP button when using a .vbp file.
I still have an Source File error on VB_DCOM_MDAC_JET_Autosetup_XP.exe
One thing I find confusing: Under Win Version you have NONE, Windows 95,Windows 98, and Windows ME. What do I click on for Windows XP?
Sam
pjt file for KeyChain.vbo
Keychain.pjt (https://randemsystems.support/index.php?topic=1.0) (2.6 k)
To understand those choices you need to understand how Inno Setup operates. Those choices have nothing to do with XP. XP is an NT OS. Those choices are for the OS's before NT 4.0. Both the Win and NT choices go together so that you can make an installation that will run on each OS or better yet the lowest OS that you will support and the highest one that you will support.
More information can be found in the Inno Setup (NOT InnoScript) Help Documentation.
One question though... Why are you using the Auto OS Updater when you are not using a database? You are making your installation way too big with something you don't use.
Also, this should not be your source exe
Source: C:Program FilesScroll Saw Keychain MakerKeyChain.exe; DestDir: {app}; Flags: ignoreversion restartreplace;
Your source exe should come from your development folder not the install folder. Place the Program Files folder in the exclude list then re-run InnoScript.
I still have one source file error--comdll32.ocx. I don't understand, I added it in Add Files.
Keychain.iss (https://randemsystems.support/index.php?topic=1.0) (5.1 k)
Why did you add it in Add Files? It was already picked up and found from the vbp. No need to add a file that is already there...
I remove it from ADD FILES. You will see that I am still getting that source file error. That's the reason I added it.
Keychain.iss (https://randemsystems.support/index.php?topic=1.0) (5.1 k)
OK, what did you do to get the original source location?
Source: D:DataScrollSawKC-P10-WorkPackageSupportcomdlg32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
It has to be in the search folder list in order to find the file. Add D:DataScrollSawKC-P10-WorkPackageSupport to the Search Files Tab and make sure it is not in the Exclude Folders list.
Yes, I verified that it was in your search folders tab and now it is not. That will solve that issue.
What did you do to resolve the issue? I started a New project and I am getting the Source file error again.
Keychain.pjt (https://randemsystems.support/index.php?topic=1.0) (2.4 k)
Yes, the file will be missing until you add the source folder location in the search folder like I stated in the previous post.
What Source file are you talking about? I tried both of these:
D:DataScrollSawKC-P10-Work -- this is the directory of the Application (all files and VPB,exe)
c:WindowsSystem32 -- this is the directory where comdll32.ocx can be found.
I added these via the Search Folder tab.
After the Create Script I went back to the Search Folder tab and c:WindowsSystem32 was not there.
I ran the script in Unsafe Mode and it worked.
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...
That's Strange--I don't have that . Attached is a picture of that Directory--no PACKAGE(https://randemsystems.support/discus/messages/12/9712.jpg)
That's STRANGE. I do NOT have a PACKAGE directory!!!
see attached(https://randemsystems.support/discus/messages/12/9715.jpg)
By the way, I changed the name from KeyChain to SSKeyChain
Well, that is why the file was not found in the later runs. You must have deleted it. The folder was created by PDW.
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...
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.
Not a problem. Glad you have the issue resolved.
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.
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.
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
ScrollSaw_KeyChain.pjt (https://randemsystems.support/index.php?topic=1.0) (2.7 k)
Hold on: I sent you the wrong files. Here are the correct ones.
ssKeyChain.iss (https://randemsystems.support/index.php?topic=1.0) (5.3 k)
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...
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
ScrollSaw_KeyChain.pjt (https://randemsystems.support/index.php?topic=1.0) (2.7 k)
Any other suggestions? It's after 3 AM. I'm going to bed. I'll see your reply in the morning.
Thanks,,
Sam
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.