Title: Getting current shared application data folder
In the immortal words of Homer J Simpson... D'oh!
 
I blame it on not enough coffee! I knew that really, I'd just temporarily misplaced it!  :-)
 
Thanks for setting me straight.
 
Regards,
Richard


From: Derek Cicerone [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 27, 2006 12:10
To: Foster, Richard - PAL; [email protected]
Subject: RE: [WiX-users] Getting current shared application data folder

It’s not necessary to call that API – Windows Installer already does it for you behind the scenes.  Check out http://msdn.microsoft.com/library/default.asp?url="">

 

Derek

 

 

Greetings all,

I'm sure this question has been asked many times… but I can't find it in the archives so I guess I'm searching for the wrong thing.

The application we are installing references a database (MDB) file.

It is required that the user has the option to install a preconfigured sample database.

Because the database is both read, and written, and is shared across all users on the machine, it seems appropriate that the file be installed to a sensible location. According to the "Designed for Windows XP" spec, the location in question should be determined using a request to SHGetFolderPath specifying CSIDL_COMMON_APPDATA, then appending the correct company and product folders. How do I make the call to SHGetFolderPath in WiX? (Presumably it's a custom action somewhere, but an example would be appreciated!)

On a related note, is there any way to ensure that the folder in question is writeable by all users, or is that automatically the case (unless overridden by an administrator).

Regards,
Richard

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to