|
-
Oct 2nd, 2006, 12:22 PM
#1
Thread Starter
Fanatic Member
Run an EXE before Setup runs
Hello all,
I have create a SETUP.EXE using InstalledSheid X Express for my S/W
I want that when a user open Setup.EXE or double Click on Setup.EXE, another Exe file runs before setup process.
Is it possible ?
Please help me
-
Oct 2nd, 2006, 12:32 PM
#2
Re: Run an EXE before Setup runs
The simplest way to accomplish this would be to write a program that does what every you need done, and then executes your SETUP.EXE.
I would rename the InstallShield file from SETUP.EXE to something else (perhaps Install.Exe or something like that.) The program that you write to do whatever you need done and call that program you could compile into SETUP.EXE so it would be reasonably transparent to the user what was being done and they would only have to run a single SETUP.EXE file.
Of course, both .Exe files would have to be shipped to the customer.
-
Oct 2nd, 2006, 12:33 PM
#3
Re: Run an EXE before Setup runs
Yes, you can run multiple setup projects with InstaShield but I am not familiar with the Express version.
What is this other exe that needs to run before the setup? Maybe there is a better logic solution to this.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Oct 2nd, 2006, 12:38 PM
#4
Thread Starter
Fanatic Member
Re: Run an EXE before Setup runs
Its an Installation Password Form, if user gives the correct password the installion should start otherwise user is unable to install that S/w
-
Oct 2nd, 2006, 12:42 PM
#5
Re: Run an EXE before Setup runs
Then the better logic is to use some form of Registration serial number. 
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Oct 2nd, 2006, 12:58 PM
#6
Thread Starter
Fanatic Member
Re: Run an EXE before Setup runs
will u please explain in depth ?
-
Oct 2nd, 2006, 01:17 PM
#7
Re: Run an EXE before Setup runs
Just like you cant use or install allot of programs without a serial number issued to the person that purchaed the program. When you buy Windows, Office, PhotoShop,etc. they all require a registration/serial number before allowing it to be installed or allowed to run after installation.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Oct 2nd, 2006, 01:55 PM
#8
Thread Starter
Fanatic Member
Re: Run an EXE before Setup runs
so h ow can i do this ?
I want that if i give my S/w to anyone, he will not able to re sale or install on any other's Pc
-
Oct 2nd, 2006, 01:58 PM
#9
Re: Run an EXE before Setup runs
Not sure what language your using but here is just one example or a program registration scheme.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Oct 3rd, 2006, 03:20 AM
#10
Re: Run an EXE before Setup runs
Most decent installer packages have that capability, but it is not wise to have a registration or password to install the software. To operate it yes but not to install it, but it can be done.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|