PDA

Click to See Complete Forum and Search --> : Inno Setup


cccf42
Oct 2nd, 2009, 06:36 PM
Hi,

I Packaged & deployed my firat application 2 nights ago & it worked fine on a clean XP PC. However, when I tried in on my Vista laptop, I got the error 75 path error. After reading up on this I saw that due to (from my understanding) directory issues Vista will not allow it to be installed due to installing in c:\ programs. I think I have the correct understanding of it.

I am since tearing my hair out... I saw some recommendations for InnoSetup but I am totally lost & cannot understand how to use it, can anyone guide me in the direction of a step by step tutorial for it? Or recommend an easier package that is compatible when installed on all MS OS?

I also tried the setupNose.exe editing but this didn't work either. I am in dire straights & totally confused right now so is there anybody that can help me out? This is my 1st VB application so I am still learning.

Thanks so much :(

MartinLiss
Oct 2nd, 2009, 07:00 PM
It doesn't look like this is a VB6 question so I moved your thread to here.

You might try to find a product called Inno Script written by one of our former members.

cccf42
Oct 3rd, 2009, 03:16 AM
Apologies for posting in wrong place. Thanks Marty, is this one more straight forward than Inno setup?

gep13
Oct 3rd, 2009, 05:21 AM
Hey,

Are you using Visual Studio? If so, what version?

Have you trying using the built in Setup and Deployment projects?

The other suggestion would be to use WIX:

http://wix.sourceforge.net/

Takes a bit to get your head round, but has a full tutorial.

Gary

MartinLiss
Oct 3rd, 2009, 10:06 AM
Apologies for posting in wrong place. Thanks Marty, is this one more straight forward than Inno setup?Inno Script is a front end for Inno Setup.

cccf42
Oct 3rd, 2009, 11:18 AM
Hi

Thanks again to you both.

I am lost again...

I have used IStool to create a script file installer (and it worked when I tested the complie it istalled successfully) & I have 2 questions:

1.) For the default directory name I used {pf}\myapplication

--- Will this work on Vista or what do I substitute for {pf}?

2.) ------

Sorry for the questions thanks again.

cccf42
Oct 3rd, 2009, 02:26 PM
ok, Have figured out re question 2 above! Had saved the .exe file for installing in a folder that I hadn't realised that was why I was focused on the ISS file :blush:

It still wont install on Vista for me!!!! It is giving an error

"Class not registered.
You need the following file to be installed on your machine.
MSSTDFMT.DLL"

But it is installed

I have added "OnlyBelowVersion: 6.0,0" in the file section also but does not resolve it, anyone any suggestions? I thought that Innosetup was one of the Vista compatible intallers?

Jagio
Oct 29th, 2009, 12:24 PM
Did you run the setup with admin rights? Try to run it with the UAC switched off. If working then, that is the trick. Than reset the UAC and insert in the .iss file in the [SetUp] section this directive: PrivilegesRequired=admin
The install will then be executed with admin rights.
Your OnlyBelowVersion: 6.0,0 was not correct, use: OnlyBelowVersion: 0,6

Give it a try, regards
Jaap