/build/static/layout/Breadcrumb_cap_w.png

startup + check hard drive exist c or d !

Hi everybody,

I use installshield 11.5 for windows and i would like to know if there is possible to know when the setup.exe starts if the computer has a drive c or d and so on !

is it possible with a custom action or others things!?

I've look in the documentation but i don't see anythings !
Have you got any idéa where i look or what can i do ?

Thanks
Christophe

0 Comments   [ + ] Show comments

Answers (6)

Posted by: mark_holland21 17 years ago
Fourth Degree Green Belt
0
It depends on what you are trying to do.

Are you trying to install the msi on a specific drive? i.e. C: or D: ?
If so you can set the ROOTDRIVE property to whatever drive you want to install the app on.
Posted by: christopheOce 17 years ago
Senior Yellow Belt
0
Hi,

we d like to know just if there is a drive c:\ on the computer because we include msde in our package and msde create a log file at installation on the root c:\ !MSDE2K.LOG

of course if there isn't c:\ the installation failed !

in fact, we d like to check if there is a drive c:\ if no drive c:\ we thinh perhpas create a mapped drive just for the installation !

we have look if we suppress the creation of the log file of msde but NO !

Thanks
Christophe
Posted by: mark_holland21 17 years ago
Fourth Degree Green Belt
0
Why is there not a C:\ drive?
Posted by: christopheOce 17 years ago
Senior Yellow Belt
0
Re,

Some computer hasn't got a drive c:\ but just a d:\ !

I m not an administrator comptuer but we have a problem with some computer who hasn't got drive c:\ !

Problem problem :-)
Christophe
Posted by: cygnusx1 17 years ago
Orange Belt
0
Custom VBScript action:

Dim sExists
Set fso = CreateObject("Scripting.FileSystemObject")
Set colDrives = fso.Drives

sExists = 0
For Each oDrive in colDrives
If UCase(oDrive.DriveLetter)= "C" Then sExists = 1
Next

Select Case sExists
Case 0 'C:\ DOES NOT exist... do something
Case 1 'C:\ EXISTS... do something
End Select
Posted by: christopheOce 17 years ago
Senior Yellow Belt
0
Hi super installshield user :-)

thanks for your code !

i try this tonight or monday !

Thanks for all
Christophe
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ